Anchor to section titled 'undefined'

ProductVariantsBulkUpdateUserErrorCode
enum

Possible error codes that can be returned by ProductVariantsBulkUpdateUserError.


value-cannotsetnameforlinkedoptionvalue
CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE

Cannot set name for an option value linked to a metafield.

value-cannotspecifyboth
CANNOT_SPECIFY_BOTH

Mutually exclusive input fields provided.

value-greaterthanorequalto
GREATER_THAN_OR_EQUAL_TO

The price of the variant must be greater than or equal to zero.

value-invalidinput
INVALID_INPUT

Input is invalid.

value-mustbeforthisproduct
MUST_BE_FOR_THIS_PRODUCT

Input must be for this product.

value-mustspecifyoneofpair
MUST_SPECIFY_ONE_OF_PAIR

Mandatory field input field missing.

value-needtoaddoptionvalues
NEED_TO_ADD_OPTION_VALUES

Variant options are not enough.

value-negativepricevalue
NEGATIVE_PRICE_VALUE

Price cannot take a negative value.

value-noinventoryquantitesduringupdate
NO_INVENTORY_QUANTITES_DURING_UPDATE

Inventory quantities cannot be provided during update.

value-noinventoryquantitiesonvariantsupdate
NO_INVENTORY_QUANTITIES_ON_VARIANTS_UPDATE

Inventory quantities can only be provided during create. To update inventory for existing variants, use inventoryAdjustQuantities.

value-optiondoesnotexist
OPTION_DOES_NOT_EXIST

Option does not exist.

value-optionvaluesfornumberofunknownoptions
OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS

Variant options are more than the product options.

value-optionvaluedoesnotexist
OPTION_VALUE_DOES_NOT_EXIST

Option value does not exist.

value-productdoesnotexist
PRODUCT_DOES_NOT_EXIST

Product does not exist.

value-productvariantdoesnotexist
PRODUCT_VARIANT_DOES_NOT_EXIST

Product variant does not exist.

value-productvariantidmissing
PRODUCT_VARIANT_ID_MISSING

Product variant is missing ID attribute.

value-subscriptionviolation
SUBSCRIPTION_VIOLATION

You reached the limit of available SKUs in your current plan.

value-variantalreadyexists
VARIANT_ALREADY_EXISTS

The variant already exists.


Was this section helpful?

The error code.


Was this section helpful?
Map
ProductVariantsBulkUpdateUserErrorCode