stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > InventoryMoveQuantitiesUserErrorCode

AdminTypes.InventoryMoveQuantitiesUserErrorCode enum

Possible error codes that can be returned by InventoryMoveQuantitiesUserError.

Signature:

export declare enum InventoryMoveQuantitiesUserErrorCode 

Enumeration Members

Member Value Description
DifferentLocations "DIFFERENT_LOCATIONS" The quantities can’t be moved between different locations.
InternalLedgerDocument "INTERNAL_LEDGER_DOCUMENT" Internal (gid://shopify/) ledger documents are not allowed to be adjusted via API.
InvalidAvailableDocument "INVALID_AVAILABLE_DOCUMENT" A ledger document URI is not allowed when adjusting available.
InvalidInventoryItem "INVALID_INVENTORY_ITEM" The specified inventory item could not be found.
InvalidLedgerDocument "INVALID_LEDGER_DOCUMENT" The specified ledger document is invalid.
InvalidLocation "INVALID_LOCATION" The specified location could not be found.
InvalidQuantityDocument "INVALID_QUANTITY_DOCUMENT" A ledger document URI is required except when adjusting available.
InvalidQuantityName "INVALID_QUANTITY_NAME" The specified quantity name is invalid.
InvalidQuantityNegative "INVALID_QUANTITY_NEGATIVE" The quantity can’t be negative.
InvalidQuantityTooHigh "INVALID_QUANTITY_TOO_HIGH" The quantity can’t be higher than 2,000,000,000.
InvalidReason "INVALID_REASON" The specified reason is invalid.
InvalidReferenceDocument "INVALID_REFERENCE_DOCUMENT" The specified reference document is invalid.
ItemNotStockedAtLocation "ITEM_NOT_STOCKED_AT_LOCATION" The inventory item is not stocked at the location.
MaximumLedgerDocumentUris "MAXIMUM_LEDGER_DOCUMENT_URIS" Only a maximum of 2 ledger document URIs across all changes is allowed.
MoveQuantitiesFailed "MOVE_QUANTITIES_FAILED" The quantities couldn’t be moved. Try again.
NonMutableInventoryItem "NON_MUTABLE_INVENTORY_ITEM" The specified inventory item is not allowed to be adjusted via API.
SameQuantityName "SAME_QUANTITY_NAME" The quantity names for each change can’t be the same.