Skip to main content

Sync Orders

POST 

/api/magento1/instances/:integrationInstance/sync-orders

Starts a background pull of orders from the Magento 1 store into SKU.io. Returns a tracked_job_log_id you can poll for progress. Only one order sync runs per instance at a time — a second request while one is running is ignored.

Body (all optional): mode — one of since_latest (resume from the last synced order; default), from_start_date (re-sweep from dateFrom up to now), or date_range (only orders within [dateFrom, dateTo]). dateFrom/dateTo — ISO-8601 dates, required for from_start_date (from) and date_range (both). dateMethodcreated or updated, which order timestamp a date_range sweep filters on (default updated).

Authentication: Requires Bearer token.

Request

Responses

OK