Orders
One row per order: current status (status_alias), totals, discounts, shipping, payment methods, coupon, marketplace, linked Shopify order, the abandoned cart it recovered (cart_id) and UTM attribution. Dates are UTC.
dateFrom and dateTo filter by created_at (inclusive days, YYYY-MM-DD).
Rows are sorted by id, store_key, inserted_at and paginated with page/limit; meta.hasNextPage says whether another page exists.
Responses are cached for 30 minutes.
ClientIdAuthClientSecretAuthx-client-id<token>Client ID
x-client-secret<token>Client secret
organizationId*stringOrganization that owns the connected accounts.
uuidintegrationId?stringOne connected account of this integration (integration_id of the rows). Omit it to read every account of the organization.
length <= 255dateFrom?stringFirst day (inclusive) of created_at, YYYY-MM-DD.
datedateTo?stringLast day (inclusive) of created_at, YYYY-MM-DD. Must not be before dateFrom.
datepage?integerPage number, starting at 1.
1 <= value <= 10000001limit?integerRows per page (max 5000).
1 <= value <= 5000500One page of rows
application/json- response
data*array<>meta*curl -X GET "https://example.com/v1/yampi/orders?organizationId=3f2b8c1e-5d4a-4e6f-9a7b-1c2d3e4f5a6b&dateFrom=2026-10-01&dateTo=2026-10-31"{ "data": [ { "id": "123456", "number": "example", "merchant_id": "123456", "status_id": "123456", "status_alias": "example", "status_name": "example", "customer_id": "123456", "customer_email": "name@example.com", "value_total": "125.50", "value_products": "125.50", "value_discount": "125.50", "value_shipment": "125.50", "value_tax": "125.50", "shipment_cost": "125.50", "shipment_service": "example", "payment_methods": "example", "authorized": true, "delivered": true, "promocode_id": "123456", "promocode_code": "example", "marketplace_id": "123456", "marketplace_account_id": "123456", "marketplace_sale_number": "example", "shopify_order_id": "123456", "source_platform": "example", "channel": "example", "device": "example", "utm_source": "example", "utm_medium": "example", "utm_campaign": "example", "utm_term": "example", "utm_content": "example", "shipping_region": "example", "cart_id": "123456", "created_at": "2026-10-01T12:00:00.000Z", "updated_at": "2026-10-01T12:00:00.000Z", "store_key": "example", "store_domain": "example", "integration_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d", "organization_id": "3f2b8c1e-5d4a-4e6f-9a7b-1c2d3e4f5a6b", "organization_id_legacy": "example", "user_id": "123456", "document_id": "123456", "inserted_at": "2026-10-01T12:00:00.000Z", "integration_name": "example" } ], "meta": { "page": 1, "limit": 500, "hasNextPage": false, "hasPreviousPage": false }}