Docs

Associate Expenses

POST /Orders/{orderId}/expenses

POST/Orders/{orderId}/expenses

Links existing expenses to the order by adding one expense line per expense, at the expense's total. All or nothing: if any expense is missing, was paid by the company or is already on an order, nothing is linked. 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. Expense ids come from Expenses_GetExpenses.

Path Parameters

FieldTypeRequiredDescription
orderIduuidRequired

Request Body

FieldTypeRequiredDescription
expenseIdsuuid[]Optional