Skip to main content
Anchor to InventoryMoveQuantitiesUserErrorCode

InventoryMoveQuantitiesUserErrorCode

enum

Possible error codes that can be returned by InventoryMoveQuantitiesUserError.

Anchor to CHANGE_FROM_QUANTITY_STALECHANGE_FROM_QUANTITY_STALE

The changeFromQuantity argument no longer matches the persisted quantity.

The quantities can't be moved between different locations.

Anchor to IDEMPOTENCY_CONCURRENT_REQUESTIDEMPOTENCY_CONCURRENT_REQUEST

This request is currently inprogress, please try again.

Anchor to IDEMPOTENCY_KEY_PARAMETER_MISMATCHIDEMPOTENCY_KEY_PARAMETER_MISMATCH

The same idempotency key cannot be used with different operation parameters.

Anchor to INTERNAL_LEDGER_DOCUMENTINTERNAL_LEDGER_DOCUMENT

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

Anchor to INVALID_AVAILABLE_DOCUMENTINVALID_AVAILABLE_DOCUMENT

A ledger document URI is not allowed when adjusting available.

Anchor to INVALID_INVENTORY_ITEMINVALID_INVENTORY_ITEM

The specified inventory item could not be found.

Anchor to INVALID_LEDGER_DOCUMENTINVALID_LEDGER_DOCUMENT

The specified ledger document is invalid.

The specified location could not be found.

Anchor to INVALID_QUANTITY_DOCUMENTINVALID_QUANTITY_DOCUMENT

A ledger document URI is required except when adjusting available.

Anchor to INVALID_QUANTITY_NAMEINVALID_QUANTITY_NAME

The specified quantity name is invalid.

Anchor to INVALID_QUANTITY_NEGATIVEINVALID_QUANTITY_NEGATIVE

The quantity can't be negative.

Anchor to INVALID_QUANTITY_TOO_HIGHINVALID_QUANTITY_TOO_HIGH

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

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 MAXIMUM_LEDGER_DOCUMENT_URISMAXIMUM_LEDGER_DOCUMENT_URIS

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

Anchor to MOVE_QUANTITIES_FAILEDMOVE_QUANTITIES_FAILED

The quantities couldn't be moved. Try again.

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.

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

The service is temporarily unavailable. Try again later.


Was this section helpful?

•OBJECT

An error that occurs during the execution of InventoryMoveQuantities.


Was this section helpful?