Skip to main content

Undo Line Swap

POST 

/api/sales-order-lines/:salesOrderLineId/unswap

Revert a swapped line to the product the customer ordered and clear the swap provenance. Allocations move back to the original product.

Authentication: Requires Bearer token.

Blocked with 409 when the line has not been swapped or is committed to fulfillment. Returns the refreshed sales order.

Request

Responses

OK

Response Headers
    Content-Type