Skip to main content

Refresh Stranded Inventory

POST 

/api/amazon/:integrationInstance/stranded-inventory/refresh

Asks Amazon for a fresh stranded inventory report for one account now. Returns the tracked job that follows the report; the list updates when Amazon finishes it. Answers 409 while a stranded report is already being prepared.

Required scope: integrations:write

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

Requires integrations.sync.

422 when Amazon rejects the request (for example the account's credentials are no longer accepted); reconnect the Amazon account and try again.

When the Amazon connection's authorization has been revoked or has expired, responds 422 with fix_url (the app path that reconnects it) and fix_label. The connection's automatic sync is turned off until it is reconnected.

Request​

Responses​

OK

Response Headers
    Content-Type