Incrementally export active sales orders updated within a given time window, with cursor-based pagination. Designed for real-time syncing and data pipelines.
Each export run is anchored to a fixed cutoff time (set at the start of the first request), so pages are stable even if records are updated mid-export.
Starting a run — provide since with a UTC datetime. The endpoint returns up to limit
orders updated on or after that time, up to the cutoff.
Continuing a run — use the next_cursor value from the previous response. The cursor
encodes the run’s position and is cryptographically signed; do not modify it.
Run complete — when has_more is false, you have received all orders in the window.
Store the cutoff time (available in the first response’s meta.cutoff) as your next since
value to pick up changes on the following sync.
| Parameter | Description |
|---|---|
since | Start of the time window (UTC). Required when starting a new run. Cannot be combined with cursor. |
cursor | Continuation token from a previous response. Required when continuing a run. Cannot be combined with since. |
limit | Max records per page. Default and maximum: 1000. |
# 1. Start a run from a known point in time
GET /sales-orders/export?since=2024-01-01T00:00:00Z&limit=1000
# 2. If has_more is true, continue with the cursor
GET /sales-orders/export?cursor=<next_cursor from previous response>
# 3. Repeat until has_more is false
# 4. Save meta.cutoff as your next since value
updated_at ascending, then by id ascending, ensuring a
stable and consistent traversal order.since accepts any parseable UTC datetime string (e.g. 2024-01-01, 2024-01-01T00:00:00Z,
2024-01-01 00:00:00).Authenticate using a bearer token. To obtain a token, contact developers@joinluminous.com
UTC datetime marking the start of the export window. Required when starting a new run.
Cannot be combined with cursor.
"2024-01-01T00:00:00Z"
Signed continuation token from a previous export response. Required when continuing a run.
Cannot be combined with since.
"eyJ2IjoxLCJtb2RlIjoiZXhwb3J0In0.abc123"
Maximum number of orders to return per page.
1 <= x <= 1000