Anchor to section titled 'undefined'

InventorySetOnHandQuantitiesUserErrorCode
enum

Possible error codes that can be returned by InventorySetOnHandQuantitiesUserError.


value-invalidinventoryitem
INVALID_INVENTORY_ITEM

The specified inventory item could not be found.

value-invalidlocation
INVALID_LOCATION

The specified location could not be found.

value-invalidquantitynegative
INVALID_QUANTITY_NEGATIVE

The quantity can't be negative.

value-invalidquantitytoohigh
INVALID_QUANTITY_TOO_HIGH

The total quantity can't be higher than 1,000,000,000.

value-invalidreason
INVALID_REASON

The specified reason is invalid.

value-invalidreferencedocument
INVALID_REFERENCE_DOCUMENT

The specified reference document is invalid.

value-itemnotstockedatlocation
ITEM_NOT_STOCKED_AT_LOCATION

The inventory item is not stocked at the location.

value-nonmutableinventoryitem
NON_MUTABLE_INVENTORY_ITEM

The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle.

value-setonhandquantitiesfailed
SET_ON_HAND_QUANTITIES_FAILED

The on-hand quantities couldn't be set. Try again.


Was this section helpful?

The error code.


Was this section helpful?
Map
InventorySetOnHandQuantitiesUserErrorCode