Product Variants Bulk Update User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- Anchor to BLANKBLANK
The input value is blank.
- Anchor to CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUECANNOT_
SET_ NAME_ FOR_ LINKED_ OPTION_ VALUE Cannot set name for an option value linked to a metafield.
- Anchor to CANNOT_SPECIFY_BOTHCANNOT_
SPECIFY_ BOTH Mutually exclusive input fields provided.
- Anchor to GREATER_THAN_OR_EQUAL_TOGREATER_
THAN_ OR_ EQUAL_ TO The price of the variant must be greater than or equal to zero.
- Anchor to INVALID_INPUTINVALID_
INPUT Input is invalid.
- Anchor to INVALID_VALUEINVALID_
VALUE Metafield value is invalid.
- Anchor to MUST_BE_FOR_THIS_PRODUCTMUST_
BE_ FOR_ THIS_ PRODUCT Input must be for this product.
- Anchor to MUST_SPECIFY_ONE_OF_PAIRMUST_
SPECIFY_ ONE_ OF_ PAIR Mandatory field input field missing.
- Anchor to NEED_TO_ADD_OPTION_VALUESNEED_
TO_ ADD_ OPTION_ VALUES Variant options are not enough.
- Anchor to NEGATIVE_PRICE_VALUENEGATIVE_
PRICE_ VALUE Price cannot take a negative value.
- Anchor to NO_INVENTORY_QUANTITES_DURING_UPDATENO_
INVENTORY_ QUANTITES_ DURING_ UPDATE Inventory quantities cannot be provided during update.
- Anchor to NO_INVENTORY_QUANTITIES_ON_VARIANTS_UPDATENO_
INVENTORY_ QUANTITIES_ ON_ VARIANTS_ UPDATE Inventory quantities can only be provided during create. To update inventory for existing variants, use inventoryAdjustQuantities.
- Anchor to NOT_DEFINED_FOR_SHOPNOT_
DEFINED_ FOR_ SHOP Input is not defined for this shop.
- Anchor to OPTION_DOES_NOT_EXISTOPTION_
DOES_ NOT_ EXIST Option does not exist.
- Anchor to OPTION_VALUE_DOES_NOT_EXISTOPTION_
VALUE_ DOES_ NOT_ EXIST Option value does not exist.
- Anchor to OPTION_VALUE_NAME_TOO_LONGOPTION_
VALUE_ NAME_ TOO_ LONG Option value name is too long.
- Anchor to OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONSOPTION_
VALUES_ FOR_ NUMBER_ OF_ UNKNOWN_ OPTIONS Variant options are more than the product options.
- Anchor to PRODUCT_DOES_NOT_EXISTPRODUCT_
DOES_ NOT_ EXIST Product does not exist.
- Anchor to PRODUCT_SUSPENDEDPRODUCT_
SUSPENDED Product is suspended.
- Anchor to PRODUCT_VARIANT_DOES_NOT_EXISTPRODUCT_
VARIANT_ DOES_ NOT_ EXIST Product variant does not exist.
- Anchor to PRODUCT_VARIANT_ID_MISSINGPRODUCT_
VARIANT_ ID_ MISSING Product variant is missing ID attribute.
- Anchor to SUBSCRIPTION_VIOLATIONSUBSCRIPTION_
VIOLATION You reached the limit of available SKUs in your current plan.
- Anchor to TOO_LONGTOO_
LONG The input value is too long.
- Anchor to TOO_SHORTTOO_
SHORT The input value is too short.
- Anchor to UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATIONUNSUPPORTED_
COMBINED_ LISTING_ PARENT_ OPERATION Operation is not supported for a combined listing parent product.
- Anchor to VARIANT_ALREADY_EXISTSVARIANT_
ALREADY_ EXISTS The variant already exists.
Anchor to FieldsFields
- •OBJECT
Error codes for failed variant bulk update mutations.