Skip to main content

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.

Required scope: products:write

Grant 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

OK

Response Headers
    Content-Type