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

tenantIdrequired
sinceoptional

Inclusive ISO 8601 timestamp with offset. Omit to synchronize everything. Cannot be combined with cursor.

cursoroptional

Opaque next_cursor from the previous page. Pass it back unchanged to continue the same collection.

limitoptional

Combined entities and deletions per page: default 100, maximum 500. May change between pages.

  • Format: int32

Responses

200Response
application/json
itemsrequired
Show item fields

Exactly one of these shapes is allowed.

deleted
typerequired
Allowed values"deleted"
idrequired
changed_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"
datarequired
Show child fields
idrequired
freightoptional
Show child fields
gross_amountoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
net_amountrequired

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
vat_rateoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
fulfillmentrequired
Show child fields
statusrequired

Further nesting is omitted. See the schema for the full definition.

Allowed values"PENDING""PARTIALLY_FULFILLED""FULFILLED""CANCELLED"
invoicingrequired
Show child fields
statusrequired

Further nesting is omitted. See the schema for the full definition.

Allowed values"NOT_INVOICED""PARTIALLY_INVOICED""INVOICED"
linesrequired
Show item fields
fulfillmentrequired

Further nesting is omitted. See the schema for the full definition.

idrequired

Further nesting is omitted. See the schema for the full definition.

invoicingrequired

Further nesting is omitted. See the schema for the full definition.

noteoptional

Further nesting is omitted. See the schema for the full definition.

positionrequired

Further nesting is omitted. See the schema for the full definition.

  • Format: int32
prepaymentoptional

Further nesting is omitted. See the schema for the full definition.

versionrequired

Further nesting is omitted. See the schema for the full definition.

  • Format: int64
basic_net_unit_sales_priceoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
campaign_code_at_saleoptional

Further nesting is omitted. See the schema for the full definition.

campaign_idoptional

Further nesting is omitted. See the schema for the full definition.

campaign_name_at_saleoptional

Further nesting is omitted. See the schema for the full definition.

campaign_net_unit_sales_priceoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
company_idrequired

Further nesting is omitted. See the schema for the full definition.

confirmed_delivery_dateoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: date
Example"2026-01-14"
created_atrequired

Further nesting is omitted. See the schema for the full definition.

  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
estimated_delivery_dateoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: date
Example"2026-01-14"
gift_card_idoptional

Further nesting is omitted. See the schema for the full definition.

gross_line_amountoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
line_discount_percentagerequired

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
line_statusrequired

Further nesting is omitted. See the schema for the full definition.

line_typerequired

Further nesting is omitted. See the schema for the full definition.

modified_atrequired

Further nesting is omitted. See the schema for the full definition.

  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
net_line_amountoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
net_unit_consignment_priceoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
net_unit_order_discount_amountrequired

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
net_unit_sales_priceoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
order_quantityrequired

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
price_source_typeoptional

Further nesting is omitted. See the schema for the full definition.

requested_delivery_dateoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: date
Example"2026-01-14"
resource_idoptional

Further nesting is omitted. See the schema for the full definition.

returned_sales_order_line_idoptional

Further nesting is omitted. See the schema for the full definition.

sales_processrequired

Further nesting is omitted. See the schema for the full definition.

service_order_idoptional

Further nesting is omitted. See the schema for the full definition.

sku_idoptional

Further nesting is omitted. See the schema for the full definition.

supply_sourceoptional

Further nesting is omitted. See the schema for the full definition.

unit_costoptional

Stored 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_amountoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
vat_raterequired

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
warehouse_idrequired

Further nesting is omitted. See the schema for the full definition.

referenceoptional
statusrequired
versionrequired
  • Format: int64
campaign_idoptional
click_and_collect_cart_idoptional
company_idrequired
created_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
currency_iso_coderequired
customer_idrequired
customer_typerequired
Allowed values"B2B""B2C""COMPANY""RETAIL_STORE""ECOM_STORE"
delivery_addressrequired
Show child fields
cityrequired
emailoptional
namerequired
phoneoptional
streetrequired
country_iso_coderequired
post_coderequired
discount_couponsrequired
Show item fields
amountoptional

Further nesting is omitted. See the schema for the full definition.

  • Format: BigDecimal
Example"100.0"
idrequired

Further nesting is omitted. See the schema for the full definition.

titleoptional

Further nesting is omitted. See the schema for the full definition.

can_be_applied_to_service_ordersrequired

Further nesting is omitted. See the schema for the full definition.

discount_coupon_typeoptional

Further nesting is omitted. See the schema for the full definition.

excluded_main_product_group_numbersrequired

Further nesting is omitted. See the schema for the full definition.

external_referencerequired

Further nesting is omitted. See the schema for the full definition.

included_main_product_group_numbersrequired

Further nesting is omitted. See the schema for the full definition.

loyalty_program_idrequired

Further nesting is omitted. See the schema for the full definition.

document_statusrequired
ecom_store_idoptional
exchange_raterequired
  • Format: BigDecimal
Example"100.0"
external_order_idoptional
external_order_numberoptional
fixed_invoice_due_dateoptional
  • Format: date
Example"2026-01-14"
internal_noteoptional
invoice_addressrequired
Show child fields
cityrequired
namerequired
streetrequired
country_iso_coderequired
post_coderequired
invoice_email_addressoptional
is_retail_orderrequired
liable_to_vatrequired
modified_atrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
note_to_customeroptional
order_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_idrequired
organisational_unit_typerequired
Allowed values"DEPARTMENT""RETAIL_STORE""ECOM_STORE"
sales_order_numberrequired
sales_order_type_idrequired
sold_atoptional
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
sold_by_idrequired
terms_of_delivery_for_tenant_idoptional
terms_of_payment_idrequired
total_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_cursorrequired
sync_throughrequired
  • Format: ISO 8681 timestamp
Example"2025-10-28T12:37:42Z"
400Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
401Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"
403Response
application/json
errorrequired

Stable error code

Example"INVALID_REQUEST"
messagerequired

Human-readable error message

Example"Invalid customer ID format"
resolutionrequired

Suggested next action

Example"Correct the customer ID and retry the request"