Skip to main content

Bulk Refresh AWD Inbound Orders

POST 

/api/amazon/:integrationInstance/awd/inbound-orders/bulk-refresh

Re-read several orders (and their shipments) from Amazon.

Required scope: integrations:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Body:

  • scope (string, optional): selected (default) refreshes ids; all refreshes every order the filters match, or, without filters, every order of the account that is not cancelled, expired or closed
  • ids (int[], required unless scope is all): SKU.io order IDs
  • filters (object or JSON string, optional, scope all only): the same filter keys as List AWD Inbound Orders, e.g. {"filter": {"status": "DRAFT"}}

Up to 10 orders refresh in the request and the response gives refreshed (orders read back; an order Amazon refused is logged and skipped). More than 10 run in the background and the response gives tracked_job_id, which you can poll on the tracked jobs endpoints.

Requires the integrations.sync permission.

Request​

Responses​

OK

Response Headers
    Content-Type