stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > ProductVariantsBulkCreateUserErrorCode

AdminTypes.ProductVariantsBulkCreateUserErrorCode enum

Possible error codes that can be returned by ProductVariantsBulkCreateUserError.

Signature:

export declare enum ProductVariantsBulkCreateUserErrorCode 

Enumeration Members

Member Value Description
GreaterThanOrEqualTo "GREATER_THAN_OR_EQUAL_TO" Variant price must be greater than or equal to zero.
Invalid "INVALID" Invalid input detected.
MustBeForThisProduct "MUST_BE_FOR_THIS_PRODUCT" Input must be for this product.
NeedToAddOptionValues "NEED_TO_ADD_OPTION_VALUES" Variant options are not enough.
NegativePriceValue "NEGATIVE_PRICE_VALUE" Price cannot take a negative value.
NoKeyOnCreate "NO_KEY_ON_CREATE" On create, this key cannot be used.
NotDefinedForShop "NOT_DEFINED_FOR_SHOP" Input is not defined for this shop.
OptionValuesForNumberOfUnknownOptions "OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS" Variant options are more than the product options.
ProductDoesNotExist "PRODUCT_DOES_NOT_EXIST" Product does not exist.
SubscriptionViolation "SUBSCRIPTION_VIOLATION" You reached the limit of available SKUs in your current plan.
TooManyInventoryLocations "TOO_MANY_INVENTORY_LOCATIONS" Inventory locations cannot exceed the allowed resource limit or 10.
TrackedVariantLocationNotFound "TRACKED_VARIANT_LOCATION_NOT_FOUND" Quantity could not be set. The location was not found.
VariantAlreadyExists "VARIANT_ALREADY_EXISTS" Variant already exists.
VariantAlreadyExistsChangeOptionValue "VARIANT_ALREADY_EXISTS_CHANGE_OPTION_VALUE" Variant options already exist. Please change the variant option(s).