Skip to main content
Anchor to ProductVariantsBulkUpdateUserErrorCode

ProductVariantsBulkUpdateUserErrorCode

enum

Possible error codes that can be returned by ProductVariantsBulkUpdateUserError.

ApiPermission metafields can only be created or updated by the app owner.

Anchor to BARCODE_CHECKSUM_VALIDATION_FAILEDBARCODE_CHECKSUM_VALIDATION_FAILED

Barcode checksum validation failed.

Anchor to BARCODE_VALUE_TOO_LONGBARCODE_VALUE_TOO_LONG

Barcode value is too long.

The input value is blank.

Barcode value cannot be 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.

Mutually exclusive input fields provided.

Anchor to CAPABILITY_VIOLATIONCAPABILITY_VIOLATION

The metafield violates a capability restriction.

Anchor to DISALLOWED_OWNER_TYPEDISALLOWED_OWNER_TYPE

Owner type can't be used in this mutation.

Anchor to DUPLICATE_BARCODE_VALUEDUPLICATE_BARCODE_VALUE

Duplicate barcode value within the same variant.

Anchor to GREATER_THAN_OR_EQUAL_TOGREATER_THAN_OR_EQUAL_TO

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

The input value isn't included in the list.

Anchor to INCOMPATIBLE_BARCODE_FIELDSINCOMPATIBLE_BARCODE_FIELDS

Cannot provide both 'barcode' and 'barcodes' for the same variant.

An internal error occurred.

The input value is invalid.

Anchor to INVALID_BARCODE_CHARACTERSINVALID_BARCODE_CHARACTERS

Barcode value contains invalid characters for its type.

Anchor to INVALID_BARCODE_LENGTHINVALID_BARCODE_LENGTH

Barcode value has an invalid length for its type.

Anchor to INVALID_BARCODE_PREFIXINVALID_BARCODE_PREFIX

Barcode value has an invalid prefix for its type.

Anchor to INVALID_BARCODE_SEPARATORSINVALID_BARCODE_SEPARATORS

Barcode value contains invalid spaces or hyphens for its type.

Anchor to INVALID_BARCODE_TYPEINVALID_BARCODE_TYPE

Barcode type is not supported. Allowed barcode types are: upc, ean, isbn, gtin, asin.

Input is invalid.

The type is invalid.

Metafield value is invalid.

Anchor to INVENTORY_QUANTITIES_LIMIT_EXCEEDEDINVENTORY_QUANTITIES_LIMIT_EXCEEDED

Inventory quantity input exceeds the limit of 50000. Consider using separate inventorySetQuantities mutations.

Anchor to LOCAL_CURRENCY_GIFT_CARD_PRICE_MUST_BE_ZEROLOCAL_CURRENCY_GIFT_CARD_PRICE_MUST_BE_ZERO

Price must be 0 for variants of products with a gift card issuance currency.

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.

The input value needs to be blank.

Anchor to PRODUCT_DOES_NOT_EXISTPRODUCT_DOES_NOT_EXIST

Product does not exist.

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.

The input value is already taken.

The input value is too long.

Can only specify a maximum of 20 barcodes per variant.

The input value is too short.

Anchor to UNSTRUCTURED_RESERVED_NAMESPACEUNSTRUCTURED_RESERVED_NAMESPACE

Unstructured reserved namespace.

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.


Was this section helpful?

•OBJECT

Error codes for failed variant bulk update mutations.


Was this section helpful?