Docs

Remove Expense Association

DELETE /Orders/{orderId}/expenses/{expenseId}

DELETE/Orders/{orderId}/expenses/{expenseId}

Unlinks an expense from the order by removing its expense line; the expense itself is kept. The id in the route is the expense's id, not the line's. Refused while the order is Paid, or Abandoned or Canceled (reopen first); an internal order only once Canceled. Needs Order.Edit on the order and Expense.View at the event.

Path Parameters

FieldTypeRequiredDescription
orderIduuidRequired
expenseIduuidRequired