Anchor to section titled 'undefined'

InventoryMoveQuantitiesUserErrorCode
enum

Possible error codes that can be returned by InventoryMoveQuantitiesUserError.


value-differentlocations
DIFFERENT_LOCATIONS

The quantities can't be moved between different locations.

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-invalidquantitynegative
INVALID_QUANTITY_NEGATIVE

The quantity can't be negative.

value-invalidquantitytoohigh
INVALID_QUANTITY_TOO_HIGH

The quantity can't be higher 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-maximumledgerdocumenturis
MAXIMUM_LEDGER_DOCUMENT_URIS

Only a maximum of 2 ledger document URIs across all changes is allowed.

value-movequantitiesfailed
MOVE_QUANTITIES_FAILED

The quantities couldn't be moved. Try again.

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-samequantityname
SAME_QUANTITY_NAME

The quantity names for each change can't be the same.


Was this section helpful?

The error code.


Was this section helpful?
Map
InventoryMoveQuantitiesUserErrorCode