Reorder Sales Order Lines

Beta
POST/v1/sales/sales-orders/{id}/lines/actions/reorder

Idempotent 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.
idstring

Sales order ID.

line_idsarray of string

The 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