GET/v1/tenants/{tenantId}/core/transactions/sales_orders
Synchronize sales_orders Experimental
Live entity representations and retained deletions, ordered by modification/deletion timestamp and ID. Use an overlap window when polling from a completed sync_through checkpoint. Requires transactions:read or core:read. Save sync_through after the final page succeeds, then subtract a configurable overlap window for the next poll.
Parameters
tenantIdrequiredsinceoptionalInclusive ISO 8601 timestamp with offset. Omit to synchronize everything. Cannot be combined with cursor.
cursoroptionalOpaque next_cursor from the previous page. Pass it back unchanged to continue the same collection.
limitoptionalCombined entities and deletions per page: default 100, maximum 500. May change between pages.
- Format: int32
Responses
application/jsonitemsrequiredShow item fields
Exactly one of these shapes is allowed.
deleted
typerequired- Allowed values
"deleted" idrequiredchanged_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"deleted_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
entity
typerequired- Allowed values
"entity" datarequiredShow child fields
idrequiredfreightoptionalShow child fields
gross_amountoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"net_amountrequiredFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"vat_rateoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"
fulfillmentrequiredShow child fields
statusrequiredFurther nesting is omitted. See the schema for the full definition.
Allowed values"PENDING""PARTIALLY_FULFILLED""FULFILLED""CANCELLED"
invoicingrequiredShow child fields
statusrequiredFurther nesting is omitted. See the schema for the full definition.
Allowed values"NOT_INVOICED""PARTIALLY_INVOICED""INVOICED"
linesrequiredShow item fields
fulfillmentrequiredFurther nesting is omitted. See the schema for the full definition.
idrequiredFurther nesting is omitted. See the schema for the full definition.
invoicingrequiredFurther nesting is omitted. See the schema for the full definition.
noteoptionalFurther nesting is omitted. See the schema for the full definition.
positionrequiredFurther nesting is omitted. See the schema for the full definition.
- Format: int32
prepaymentoptionalFurther nesting is omitted. See the schema for the full definition.
versionrequiredFurther nesting is omitted. See the schema for the full definition.
- Format: int64
basic_net_unit_sales_priceoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"campaign_code_at_saleoptionalFurther nesting is omitted. See the schema for the full definition.
campaign_idoptionalFurther nesting is omitted. See the schema for the full definition.
campaign_name_at_saleoptionalFurther nesting is omitted. See the schema for the full definition.
campaign_net_unit_sales_priceoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"company_idrequiredFurther nesting is omitted. See the schema for the full definition.
confirmed_delivery_dateoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: date
Example"2026-01-14"created_atrequiredFurther nesting is omitted. See the schema for the full definition.
- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"estimated_delivery_dateoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: date
Example"2026-01-14"gift_card_idoptionalFurther nesting is omitted. See the schema for the full definition.
gross_line_amountoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"line_discount_percentagerequiredFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"line_statusrequiredFurther nesting is omitted. See the schema for the full definition.
line_typerequiredFurther nesting is omitted. See the schema for the full definition.
modified_atrequiredFurther nesting is omitted. See the schema for the full definition.
- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"net_line_amountoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"net_unit_consignment_priceoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"net_unit_order_discount_amountrequiredFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"net_unit_sales_priceoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"order_quantityrequiredFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"price_source_typeoptionalFurther nesting is omitted. See the schema for the full definition.
requested_delivery_dateoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: date
Example"2026-01-14"resource_idoptionalFurther nesting is omitted. See the schema for the full definition.
returned_sales_order_line_idoptionalFurther nesting is omitted. See the schema for the full definition.
sales_processrequiredFurther nesting is omitted. See the schema for the full definition.
service_order_idoptionalFurther nesting is omitted. See the schema for the full definition.
sku_idoptionalFurther nesting is omitted. See the schema for the full definition.
supply_sourceoptionalFurther nesting is omitted. See the schema for the full definition.
unit_costoptionalStored unit cost in the owning company's currency
Further nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"vat_amountoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"vat_raterequiredFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"warehouse_idrequiredFurther nesting is omitted. See the schema for the full definition.
referenceoptionalstatusrequiredversionrequired- Format: int64
campaign_idoptionalclick_and_collect_cart_idoptionalcompany_idrequiredcreated_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"currency_iso_coderequiredcustomer_idrequiredcustomer_typerequired- Allowed values
"B2B""B2C""COMPANY""RETAIL_STORE""ECOM_STORE" delivery_addressrequiredShow child fields
cityrequiredemailoptionalnamerequiredphoneoptionalstreetrequiredcountry_iso_coderequiredpost_coderequired
discount_couponsrequiredShow item fields
amountoptionalFurther nesting is omitted. See the schema for the full definition.
- Format: BigDecimal
Example"100.0"idrequiredFurther nesting is omitted. See the schema for the full definition.
titleoptionalFurther nesting is omitted. See the schema for the full definition.
can_be_applied_to_service_ordersrequiredFurther nesting is omitted. See the schema for the full definition.
discount_coupon_typeoptionalFurther nesting is omitted. See the schema for the full definition.
excluded_main_product_group_numbersrequiredFurther nesting is omitted. See the schema for the full definition.
external_referencerequiredFurther nesting is omitted. See the schema for the full definition.
included_main_product_group_numbersrequiredFurther nesting is omitted. See the schema for the full definition.
loyalty_program_idrequiredFurther nesting is omitted. See the schema for the full definition.
document_statusrequiredecom_store_idoptionalexchange_raterequired- Format: BigDecimal
Example"100.0"external_order_idoptionalexternal_order_numberoptionalfixed_invoice_due_dateoptional- Format: date
Example"2026-01-14"internal_noteoptionalinvoice_addressrequiredShow child fields
cityrequirednamerequiredstreetrequiredcountry_iso_coderequiredpost_coderequired
invoice_email_addressoptionalis_retail_orderrequiredliable_to_vatrequiredmodified_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"note_to_customeroptionalorder_daterequired- Format: date
Example"2026-01-14"order_discount_amountoptional- Format: BigDecimal
Example"100.0"order_discount_percentageoptional- Format: BigDecimal
Example"100.0"organisational_unit_idrequiredorganisational_unit_typerequired- Allowed values
"DEPARTMENT""RETAIL_STORE""ECOM_STORE" sales_order_numberrequiredsales_order_type_idrequiredsold_atoptional- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"sold_by_idrequiredterms_of_delivery_for_tenant_idoptionalterms_of_payment_idrequiredtotal_gross_amountoptional- Format: BigDecimal
Example"100.0"total_net_amountoptional- Format: BigDecimal
Example"100.0"total_vat_amountoptional- Format: BigDecimal
Example"100.0"warehouse_idrequired
changed_atrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
next_cursorrequiredsync_throughrequired- Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
400Response
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
401Response
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"
403Response
application/jsonerrorrequiredStable error code
Example"INVALID_REQUEST"messagerequiredHuman-readable error message
Example"Invalid customer ID format"resolutionrequiredSuggested next action
Example"Correct the customer ID and retry the request"