Sync orders
POST/api/square/orders/sync
Queues a background sync of Square orders for the instance, then promotes new orders to SKU sales orders. Returns a tracked job log id that can be used to follow progress.
mode is optional: since_latest (default) resumes from the persisted sync watermark; all re-syncs from the instance's order import start date. date_from (optional, date) overrides the window start.
Request
Responses
- 200
- 401
- 403
- 422
- 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.
Unprocessable Content
Response Headers
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.