Docs

Move Line

PUT /Orders/{orderId}/lines/{lineItemId}/move

PUT/Orders/{orderId}/lines/{lineItemId}/move

Moves 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

FieldTypeRequiredDescription
orderIduuidRequired
lineItemIduuidRequired

Request Body

FieldTypeRequiredDescription
newIndexintegerOptional