Update an allocation quantity
Updates the quantity on an allocation.Documentation Index
Fetch the complete documentation index at: https://docs.commodityai.io/llms.txt
Use this file to discover all available pages before exploring further.
| Header | Required | Notes |
|---|---|---|
Idempotency-Key | Yes | Unique key for safely retrying this write. Use a stable value from your source system, such as erp-allocation-7781-update-quantity. |
| Status | Code | Meaning |
|---|---|---|
400 | validation_error | Quantity is missing or invalid. |
404 | not_found | The allocation was not found for the company. |
409 | CAPACITY_EXCEEDED | The new quantity exceeds remaining capacity on a linked leg. |
422 | business_rule_failed | The update is structurally valid but fails an allocation rule. |