InventoryAdjustQuantitiesUserErrorCode
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to ADJUST_QUANTITIES_FAILEDADJUST_QUANTITIES_FAILED•
The quantities couldn't be adjusted. Try again.
- 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.
- Anchor to INVALID_LOCATIONINVALID_LOCATION•
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_TOO_HIGHINVALID_QUANTITY_TOO_HIGH•
The quantity can't be higher than 2,000,000,000.
- Anchor to INVALID_QUANTITY_TOO_LOWINVALID_QUANTITY_TOO_LOW•
The quantity can't be lower than -2,000,000,000.
- Anchor to INVALID_REASONINVALID_REASON•
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 MAX_ONE_LEDGER_DOCUMENTMAX_ONE_LEDGER_DOCUMENT•
All changes must have the same ledger document URI or, in the case of adjusting available, no ledger document URI.
- 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.