Skip to main content

Preview Bulk Swap and Release

POST 

/api/sales-orders/bulk-swap/preview

Dry-run for the Swap & Release confirmation step: for each selected order, reports exactly which lines would be swapped (original SKU → substitute SKU, quantity, and the rule's mode), which orders would be skipped and why, and how many lines are already swapped. Makes no changes.

Authentication: Requires Bearer token.

Statuses per order: eligible (has planned line swaps) or skipped (with a human-readable reason).

Request

Responses

OK

Response Headers
    Content-Type