Home > @infiniteobjects/shopify-data-manager > AdminTypes > InventorySetOnHandQuantitiesUserErrorCode
Possible error codes that can be returned by InventorySetOnHandQuantitiesUserError
.
Signature:
export declare enum InventorySetOnHandQuantitiesUserErrorCode
Member | Value | Description |
---|---|---|
InvalidInventoryItem | "INVALID_INVENTORY_ITEM" |
The specified inventory item could not be found. |
InvalidLocation | "INVALID_LOCATION" |
The specified location could not be found. |
InvalidQuantityNegative | "INVALID_QUANTITY_NEGATIVE" |
The quantity can’t be negative. |
InvalidQuantityTooHigh | "INVALID_QUANTITY_TOO_HIGH" |
The total quantity can’t be higher than 1,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. |
NonMutableInventoryItem | "NON_MUTABLE_INVENTORY_ITEM" |
The specified inventory item is not allowed to be adjusted via API. |
SetOnHandQuantitiesFailed | "SET_ON_HAND_QUANTITIES_FAILED" |
The on-hand quantities couldn’t be set. Try again. |