Anchor to InventorySetOnHandQuantitiesUserErrorCodeInventory
InventorySetOnHandQuantitiesUserErrorCode
enum
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to INVALID_INVENTORY_ITEMINVALID_INVENTORY_ITEM•
The specified inventory item could not be found.
- Anchor to INVALID_LOCATIONINVALID_LOCATION•
The specified location could not be found.
- Anchor to INVALID_QUANTITY_NEGATIVEINVALID_QUANTITY_NEGATIVE•
The quantity can't be negative.
- Anchor to INVALID_QUANTITY_TOO_HIGHINVALID_QUANTITY_TOO_HIGH•
The total quantity can't be higher than 1,000,000,000.
- Anchor to INVALID_REASONINVALID_REASON•
The specified reason is invalid.
- Anchor to INVALID_REFERENCE_DOCUMENTINVALID_REFERENCE_DOCUMENT•
The specified reference document is invalid.
- Anchor to ITEM_NOT_STOCKED_AT_LOCATIONITEM_NOT_STOCKED_AT_LOCATION•
The inventory item is not stocked at the location.
- Anchor to NON_MUTABLE_INVENTORY_ITEMNON_MUTABLE_INVENTORY_ITEM•
The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle.
- Anchor to SET_ON_HAND_QUANTITIES_FAILEDSET_ON_HAND_QUANTITIES_FAILED•
The on-hand quantities couldn't be set. Try again.
Was this section helpful?