List Orders
GET/api/trackstar/integration-instances/:integration_instance/orders
List Trackstar orders for an integration instance with pagination, filtering, and sorting.
Any valid API token can call this endpoint — no specific scope required. Manage tokens.
Authentication: Requires Bearer token.
Filters (Spatie QueryBuilder):
- filter[search]: Partial match on order_number or trackstar_order_id
- filter[status]: Exact enum match. Values: processing, picked, packed, fulfilled, cancelled, other
- filter[has_fulfillment]: true/1 or false/0
- filter[date_from]: Orders on or after this date (reads from json_object.order_date or created_date)
- filter[date_to]: Orders on or before this date
Allowed sorts: id, order_number, status, created_at, updated_at Default sort: -created_at
Request
Responses
- 200
- 401
- 403
- 404
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.