Skip to main content

Sync Orders

POST 

/api/shippit/instances/:integration_instance/orders/sync

Queue a background job that reconciles the current state of existing Shippit orders for this instance (Shippit has no bulk order list, so the sweep refreshes each non-terminal order individually via its tracking number). The response returns the tracked job log id, which you can poll for progress.

All body fields are optional — send an empty body {} to sweep every non-terminal order.

  • since — only refresh orders last updated before this date/time (ISO 8601 or Y-m-d). Targets stale rows.
  • date_from — only include orders created on or after this date (Y-m-d).
  • date_to — only include orders created on or before this date (Y-m-d); must be on or after date_from.
  • tracking_number — refresh only the single order carrying this tracking number (max 255 chars).

Authentication: requires a Bearer token.

Request

Responses

OK

Response Headers
    Content-Type