Skip to main content

List Orders Affected by a Correction

GET 

/api/v2/products/:product/component-revisions/:revision/affected-orders

Paginated sales orders affected by a corrective (back-dated) revision's window, with a before -> after component diff and a shipped/unshipped summary. Bundles only — for a kit the response is { supported:false } with an explanatory message (kits have no per-order components). Filter with status=all|unshipped|shipped.

Required scope: products:read

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

Authentication: Requires Bearer token.

Each order carries skip_reason (null when it will be rewritten in place; otherwise why the rewrite job will skip it, e.g. fulfillment activity or tax/discount allocations). Component rows are grouped per bundle occurrence on the order via sales_channel_line_id, and order_date is the calendar day in the account's timezone.

Request

Responses

OK

Response Headers
    Content-Type