Docs
Associate Expenses
POST /Orders/{orderId}/expenses
POST
/Orders/{orderId}/expensesLinks 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
| Field | Type | Required | Description |
|---|---|---|---|
| orderId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| expenseIds | uuid[] | Optional |