Anchor to section titled 'undefined'

InventoryAdjustQuantitiesUserErrorCode
enum

Possible error codes that can be returned by InventoryAdjustQuantitiesUserError.


value-adjustquantitiesfailed
ADJUST_QUANTITIES_FAILED

The quantities couldn't be adjusted. Try again.

value-internalledgerdocument
INTERNAL_LEDGER_DOCUMENT

Internal (gid://shopify/) ledger documents are not allowed to be adjusted via API.

value-invalidavailabledocument
INVALID_AVAILABLE_DOCUMENT

A ledger document URI is not allowed when adjusting available.

value-invalidinventoryitem
INVALID_INVENTORY_ITEM

The specified inventory item could not be found.

value-invalidledgerdocument
INVALID_LEDGER_DOCUMENT

The specified ledger document is invalid.

value-invalidlocation
INVALID_LOCATION

The specified location could not be found.

value-invalidquantitydocument
INVALID_QUANTITY_DOCUMENT

A ledger document URI is required except when adjusting available.

value-invalidquantityname
INVALID_QUANTITY_NAME

The specified quantity name is invalid.

value-invalidquantitytoohigh
INVALID_QUANTITY_TOO_HIGH

The quantity can't be higher than 2,000,000,000.

value-invalidquantitytoolow
INVALID_QUANTITY_TOO_LOW

The quantity can't be lower than -2,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-maxoneledgerdocument
MAX_ONE_LEDGER_DOCUMENT

All changes must have the same ledger document URI or, in the case of adjusting available, no ledger document URI.

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.


Was this section helpful?

The error code.


Was this section helpful?
Map
InventoryAdjustQuantitiesUserErrorCode