Home > @infiniteobjects/shopify-data-manager > AdminTypes > InventoryAdjustQuantitiesUserErrorCode
Possible error codes that can be returned by InventoryAdjustQuantitiesUserError.
Signature:
export declare enum InventoryAdjustQuantitiesUserErrorCode
| Member | Value | Description |
|---|---|---|
| AdjustQuantitiesFailed | "ADJUST_QUANTITIES_FAILED" |
The quantities couldn’t be adjusted. Try again. |
| 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. |
| InvalidQuantityTooHigh | "INVALID_QUANTITY_TOO_HIGH" |
The quantity can’t be higher than 2,000,000,000. |
| InvalidQuantityTooLow | "INVALID_QUANTITY_TOO_LOW" |
The quantity can’t be lower 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. |
| 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. |
| NonMutableInventoryItem | "NON_MUTABLE_INVENTORY_ITEM" |
The specified inventory item is not allowed to be adjusted via API. |