Skip to main content

Sync Square Orders

POST 

/api/square/orders/sync

Queue a background refresh of orders from the Square API. The job fetches orders modified since the last sync watermark (default), then promotes newly fetched orders into SKU sales orders. Progress can be tracked via the returned tracked_job_log_id.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Body fields:

  • integration_instance_id (integer, required) — the Square integration instance to sync.
  • mode (string, optional) — one of since_latest (default behavior; resume from the last sync watermark) or all (full re-sync from the instance's order-import start date).
  • date_from (date, optional) — explicit start date for the fetch window (overrides mode).

Route name: square.orders.sync

Request

Responses

OK

Response Headers
    Content-Type