Created orders and payment rate by product, coupon or shipping band
Orders CREATED in the period (creation day in UTC), paid or not, grouped by product, coupon or shipping band, with the payment rate of each item in the period and in the 90 days right before it (baselinePeriod). Same outcomes as /v1/orders/payment-outcomes (newest copy of each order; paid = the payment was approved, even if the order was canceled afterwards; canceled = canceled without a payment; pending = still open without a payment), read from the dbt model analytics.obt_created_order_payment_daily (v4mos-data). Coverage (coverage): on Tray only orders of an identified store (store_key filled) are counted; the model leaves out Tray orders without a store (v4mos-data#1461, so two stores never merge), which the organization read of payment-outcomes counts, so on Tray totals can be below its Total. VTEX counts every created order. A product is a (store, product) pair: the same product id in two stores of the organization is two items, told apart by storeKey; coupons and shipping bands add up across stores. With a gtmMotionId, the motion's stores come from its linked VTEX/Tray accounts (every store with a created order of those accounts), not from its invoiced sales, and only the stores of the requested platform are read (a VTEX key and a Tray key never mix). The model has no account in its grain, so the cut is by (platform, store): a store linked to two motions through different accounts counts its orders in both (known limitation, the same of /v1/orders/created-order-utm). With platform=shopify the motion's stores are not resolved; a motion of another organization is still a 403. No response cache: every call reads the current links of the motion. totals are all the orders created in the period and the denominator of sharePct: an order with two products counts in both, and an order without a coupon in none. paidDelta is the item's payment rate minus its own rate in the baseline, in percentage points; null when the item had no created order in the baseline. Items without a created order in the period are not returned. Products and coupons come by created orders (the limit first); bands come all, in table order. Product label is the catalog name, else the order line name. Shopify does not extract the payment status of the order: supported is false, items is empty and the totals are zeros (no warehouse read). Aggregates only: no customer data. Both dates are required; the period spans at most 366 days.
ClientIdAuthClientSecretAuthx-client-id<token>Client ID
x-client-secret<token>Client secret
organizationId*stringOrganization identifier (UUID, required)
uuidplatform*stringStore platform. shopify answers supported: false.
"vtex""tray""shopify"groupBy*stringWhat the created orders are grouped by: product (orders that contain the product, each order once per product), coupon (orders with the coupon the customer typed; orders without a coupon are in totals only) or shipping_band (the shipping charged after the shipping discount: free, up_to_15, 15_to_25, 25_to_40, over_40, upper bound inside the band, and unknown when it is not known after the discount).
"product""coupon""shipping_band"startDate*stringFirst creation day of the period, inclusive (YYYY-MM-DD, UTC). Required.
dateendDate*stringLast creation day of the period, inclusive (YYYY-MM-DD, UTC). Required. At most 366 days from startDate.
datelimit?integerProducts and coupons with the most created orders in the period (default 100, at most 500). Items beyond the limit are left out, so a ranking by payment rate (best and worst) only sees the limit items with the most created orders: ask for 500 to rank. Every shipping band is always returned.
1 <= value <= 500100gtmMotionId?stringGTM motion of the organization (UUID), as listed by GET /v1/gtm-motions. Optional: without it, the response covers the organization's default GTM motion. The default motion is answered with the organization's data, the same numbers as when the parameter is omitted. Any other GTM motion of the organization (V4MOS-2707) is answered with the orders of its stores only: the stores with an order in analytics.fct_transactions_by_gtm_motion for the motion, by the key the order facts give a store (vtex_orders.document_id, shopify_orders.store_key, tray_orders.store_key); a motion without a store answers zero orders. Not a UUID: 400. Not a live GTM motion of the organization: 403 GTM_MOTION_NOT_IN_ORGANIZATION.
uuidCreated orders and payment rate by item
application/json- response
period*baselinePeriod*platform*string"vtex""tray""shopify"groupBy*string"product""coupon""shipping_band"coverage*Which created orders are counted. On Tray the orders without a store_key are left out (v4mos-data#1461), so the totals can be below the Total of payment-outcomes; VTEX counts every created order.
supported*booleantotals*baselineTotals*The item in the 90 days before the period.
items*array<>curl -X GET "https://example.com/v1/orders/payment-breakdown?organizationId=11111111-1111-4111-8111-111111111111&platform=vtex&groupBy=product&startDate=2026-10-25&endDate=2026-10-31>mMotionId=019a5b2e-7c4d-7abc-8def-0123456789ab"{ "period": { "startDate": "2026-10-01", "endDate": "2026-10-30" }, "baselinePeriod": { "startDate": "2026-07-03", "endDate": "2026-09-30" }, "platform": "vtex", "groupBy": "product", "coverage": { "ordersWithoutStore": "included", "note": null }, "supported": true, "totals": { "createdOrders": 5373, "paidOrders": 4298, "paymentRate": 79.99, "unpaidOrders": 1075, "canceledOrders": 420, "pendingOrders": 655 }, "baselineTotals": { "createdOrders": 15890, "paidOrders": 12870, "paymentRate": 80.99, "unpaidOrders": 3020, "canceledOrders": 1190, "pendingOrders": 1830 }, "items": [ { "key": "p-1042", "storeKey": "doc-1", "label": "Meia Cano Alto", "createdOrders": 812, "paidOrders": 701, "paymentRate": 86.33, "unpaidOrders": 111, "canceledOrders": 40, "pendingOrders": 71, "sharePct": 15.11, "baseline": { "createdOrders": 2310, "paidOrders": 1900, "paymentRate": 82.25 }, "paidDelta": 4.08 }, { "key": "p-2210", "storeKey": "doc-1", "label": "Cueca Boxer", "createdOrders": 640, "paidOrders": 470, "paymentRate": 73.44, "unpaidOrders": 170, "canceledOrders": 75, "pendingOrders": 95, "sharePct": 11.91, "baseline": { "createdOrders": 0, "paidOrders": 0, "paymentRate": 0 }, "paidDelta": null } ]}