E-commerce Summary

Created orders by UTM band and channel, with how many were paid

GET
/v1/orders/created-order-utm

Orders CREATED in the period on VTEX and Tray (creation day in UTC), paid or not, by how much UTM they carry and by acquisition channel, with how many orders of each channel became a payment (V4MOS-3208, the 03 of the e-commerce Compromisso). Source: analytics.obt_created_order_utm_daily, the created-order twin of /v1/acquisition/order-utm: the same UTM (VTEX on the order; Tray from the UTM cart of the same e-mail on the same day), the same channel taxonomy (channel_from_utm) and the same bands (complete: source, medium and campaign; noCampaign: source without medium or campaign; none: no source). The paid / created rule is the one of /v1/orders/payment-outcomes (paid = the payment was approved, even if the order was canceled afterwards). untrackedOrderShare is the share of created orders with no UTM (null without orders). channels lists the orders with a UTM: one row per paid channel and one per organic origin (an organic visit filed under Meta / Google only by its source is Orgânico, as in order-utm), with the origin (utm_source / utm_medium) with the most created orders, ordered by created orders, every channel with no top N (the caller folds the organic origins into its channel labels and cuts after that, so a label is never split by a limit); tracked sums every order with a UTM (the sum of channels). Shares and paymentRate are 0..1. No spend, no CAC. With gtmMotionId of another motion of the organization, only the stores linked to it. With platform, only the stores of that platform (the cut of /v1/orders/payment-outcomes); without it, every VTEX and Tray store in scope. Aggregates only: no customer data. Both dates are required; the period spans at most 366 days.

Authorization

ClientIdAuthClientSecretAuth
headerx-client-id<token>

Client ID

headerx-client-secret<token>

Client secret

Query Parameters

organizationId*string

Organization identifier (UUID, required)

Formatuuid
startDate*string

First creation day of the period, inclusive (YYYY-MM-DD, UTC). Required.

Formatdate
endDate*string

Last creation day of the period, inclusive (YYYY-MM-DD, UTC). Required. At most 366 days from startDate.

Formatdate
platform?string

Store platform to read (optional): vtex or tray, the same cut as /v1/orders/payment-outcomes. Absent, every VTEX and Tray store in scope.

Value in"vtex""tray"
gtmMotionId?string

GTM 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.

Formatuuid

Response Body

Created orders of the period by UTM band and channel

application/json
  1. response
period*
totalOrders*integer

Every order created in the period (VTEX and Tray).

coverage*
untrackedOrderShare*|

Share of created orders with no UTM, 0..1; null without orders.

channels*array<>

Every channel, ordered by created orders (no cap: the consumer groups by channel label before taking its top rows).

tracked*
curl -X GET "https://example.com/v1/orders/created-order-utm?organizationId=11111111-1111-4111-8111-111111111111&startDate=2026-10-01&endDate=2026-10-30&platform=vtex&gtmMotionId=019a5b2e-7c4d-7abc-8def-0123456789ab"
{  "period": {    "startDate": "2026-10-01",    "endDate": "2026-10-30"  },  "totalOrders": 1000,  "coverage": {    "complete": {      "orders": 700,      "share": 0.7    },    "noCampaign": {      "orders": 150,      "share": 0.15    },    "none": {      "orders": 150,      "share": 0.15    }  },  "untrackedOrderShare": 0.15,  "channels": [    {      "channel": "Meta Ads",      "source": "facebook",      "medium": "paid_social",      "createdOrders": 500,      "paidOrders": 400,      "unpaidOrders": 100,      "paymentRate": 0.8    },    {      "channel": "Google Ads",      "source": "google",      "medium": "cpc",      "createdOrders": 350,      "paidOrders": 300,      "unpaidOrders": 50,      "paymentRate": 0.8571    }  ],  "tracked": {    "createdOrders": 850,    "paidOrders": 700,    "unpaidOrders": 150,    "paymentRate": 0.8235  }}