Docs
Move Line
PUT /Orders/{orderId}/lines/{lineItemId}/move
PUT
/Orders/{orderId}/lines/{lineItemId}/moveMoves a resource line or an expense line to a new zero-based position in the order's single line ordering; pass either kind of line id. Allowed on a Paid order, because reordering is not a change to the revision. Needs Order.Edit on the order and Expense.View at the event. Works the same on an organization-level order (org token, resource inventory edit).
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orderId | uuid | Required | |
| lineItemId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| newIndex | integer | Optional |