Docs
Set Allocation
PUT /Orders/{orderId}/lines/{lineItemId}/allocations
PUT
/Orders/{orderId}/lines/{lineItemId}/allocationsSets a show's share of a Covering line for one need, updating the amount if the show already has one. Use
eventId and procurementResourceId from Orders_GetOrderAllocations (unallocatedNeeds) or from the reserve
response's coverings. A new amount needs the show to reserve the line's supply for that need. Returns
warning when the line's allocations add up to more than its cost; the amount is saved anyway. Requires
resource inventory edit.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orderId | uuid | Required | |
| lineItemId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| eventId | uuid | Optional | |
| procurementResourceId | uuid | Optional | |
| amount | number | Optional | |
| note | string | Optional |
Response
| Field | Type | Description |
|---|---|---|
| allocationId | uuid | |
| warning | string| null |