Docs
Get Order Supply
GET /Orders/{orderId}/supply
GET
/Orders/{orderId}/supplyLists the temporary units an organization-level order's lines put in inventory and what holds them: per line that adds
units, its units (archived ones included) and the live reservations of its live units, each a show's or the
organization's own schedule. Holds on events the caller can't reach come back as one row per line with only the
quantity and outer dates. Use it to list the shows a refusal to un-confirm, lower or narrow names. Use
orderId from Orders_GetOrders. Requires resource inventory read.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orderId | uuid | Required |
Response
Type: GetOrderSupplyResponse[]
GetOrderSupplyResponse
| Field | Type | Description |
|---|---|---|
| lineItemId | uuid | |
| units | GetOrderSupplyResponseUnit[]| null | |
| reservations | GetOrderSupplyResponseReservation[]| null |
GetOrderSupplyResponseUnit
| Field | Type | Description |
|---|---|---|
| resourceId | uuid | |
| name | string| null | |
| isArchived | boolean | |
| availableFrom | date-time| null | |
| availableUntil | date-time| null | |
| quantity | integer| null |
GetOrderSupplyResponseReservation
| Field | Type | Description |
|---|---|---|
| reservationId | uuid| null | |
| resourceId | uuid| null | |
| eventId | uuid| null | |
| eventName | string| null | |
| isOrgDirect | boolean | |
| status | string| null | |
| quantity | number | |
| start | date-time| null | |
| end | date-time| null |