Reorder Sales Order Lines
BetaPOST
/v1/sales/sales-orders/{id}/lines/actions/reorderIdempotent with Idempotency-Key header. Learn more
Reorders the product lines on a sales order to match the supplied order. Credit and freight lines always stay at the bottom of the list regardless of the order given here.
Permissions requiredValues:customers:updatesuppliers:updatesales_orders:update
The role behind your API key or agent must grant every one of these permissions.
idstringSales order ID.
line_idsarray of stringThe order's product-line IDs in the desired display order. Every product line on the order must be listed exactly once; credit and freight lines are kept at the bottom of the list and must not be included.
Responses
200
Successful response for Reorder Sales Order Lines