Anchor to section titled 'undefined'

InventorySetQuantitiesUserErrorCode
enum

Possible error codes that can be returned by InventorySetQuantitiesUserError.


value-comparequantityrequired
COMPARE_QUANTITY_REQUIRED

The compareQuantity argument must be given to each quantity or ignored using ignoreCompareQuantity.

value-comparequantitystale
COMPARE_QUANTITY_STALE

The compareQuantity value does not match persisted value.

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-invalidname
INVALID_NAME

The quantity name must be either 'available' or 'on_hand'.

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-invalidquantitytoolow
INVALID_QUANTITY_TOO_LOW

The total quantity can't be lower 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 specified inventory item is not stocked at the location.

value-noduplicateinventoryitemidgroupidpair
NO_DUPLICATE_INVENTORY_ITEM_ID_GROUP_ID_PAIR

The combination of inventoryItemId and locationId must be unique.


Was this section helpful?

The error code.


Was this section helpful?
Map
InventorySetQuantitiesUserErrorCode