Skip to main content

Refresh Orders from WooCommerce

POST 

/api/woo-commerce/:integrationInstance/orders/refresh-tracked

Start a background refresh that downloads orders from WooCommerce into SKU.io.

Not yet available to API tokens

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

The mode field controls which orders are fetched:

  • latest (default) - orders modified since the most recent local order
  • from_start_date - orders created since the integration's configured start date
  • date_range - orders created from the start of date_from through the end of date_to, both in your account's timezone (sent to WooCommerce in GMT). date_to is optional; without it the range is open-ended.
  • all - Full Re-sync: every order created since the integration's configured start date (same window as from_start_date)

Only latest (and the scheduled sync) asks WooCommerce for orders modified since the most recent order already synced. from_start_date, date_range and all fetch every order in their window, whether or not it changed since the last sync.

The job runs asynchronously. The response includes a tracked_job_log_id you can use to poll job progress.

Route name: woo-commerce.orders.refresh-tracked

Request​

Responses​

OK

Response Headers
    Content-Type