Trigger Channel Inventory Recalculation
POST/api/v2/listings/channel-inventory/trigger-recalc
Flags channel inventory records for quantity recalculation. This is asynchronous: the request only marks the records; the quantities are recalculated by a scheduled background process on its next cycle, not immediately within this request.
products:writeGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Targeting modes (checked in this order):
- apply_to_all: true — flag every record matching the optional filters object (search, integration_instance_id, integration_id, is_sku_recalculation_needed). Archived listings are excluded.
- product_listing_ids (array of integers) — flag all channel inventory records belonging to the given listing IDs.
- ids (array of integers) — flag specific channel inventory record IDs.
All body fields are optional, but supply at least one targeting mode; otherwise 0 records are affected.
Authentication: Requires Bearer token.
Request
Responses
- 200
- 401
- 403
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.