Product Variants Bulk Create User Error Code
Possible error codes that can be returned by .
Anchor to Valid valuesValid values
- 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 GREATER_THAN_OR_EQUAL_TOGREATER_
THAN_ OR_ EQUAL_ TO Variant price must be greater than or equal to zero.
- Anchor to INVALIDINVALID
Invalid input detected.
- Anchor to INVALID_INPUTINVALID_
INPUT Input is invalid.
- Anchor to MUST_BE_FOR_THIS_PRODUCTMUST_
BE_ FOR_ THIS_ PRODUCT Input must be for this product.
- 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_KEY_ON_CREATENO_
KEY_ ON_ CREATE On create, this key cannot be used.
- Anchor to NOT_DEFINED_FOR_SHOPNOT_
DEFINED_ FOR_ SHOP Input is not defined for this shop.
- 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 SUBSCRIPTION_VIOLATIONSUBSCRIPTION_
VIOLATION You reached the limit of available SKUs in your current plan.
- Anchor to TOO_MANY_INVENTORY_LOCATIONSTOO_
MANY_ INVENTORY_ LOCATIONS Inventory locations cannot exceed the allowed resource limit or 10.
- Anchor to TRACKED_VARIANT_LOCATION_NOT_FOUNDTRACKED_
VARIANT_ LOCATION_ NOT_ FOUND Quantity could not be set. The location was not found.
- 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 Variant already exists.
- Anchor to VARIANT_ALREADY_EXISTS_CHANGE_OPTION_VALUEVARIANT_
ALREADY_ EXISTS_ CHANGE_ OPTION_ VALUE Variant options already exist. Please change the variant option(s).
Anchor to FieldsFields
- •OBJECT
Error codes for failed product variant bulk create mutations.