Home > @infiniteobjects/shopify-data-manager > AdminTypes > ProductVariantsBulkUpdateUserErrorCode
Possible error codes that can be returned by ProductVariantsBulkUpdateUserError
.
Signature:
export declare enum ProductVariantsBulkUpdateUserErrorCode
Member | Value | Description |
---|---|---|
GreaterThanOrEqualTo | "GREATER_THAN_OR_EQUAL_TO" |
The price of the variant must be greater than or equal to zero. |
NeedToAddOptionValues | "NEED_TO_ADD_OPTION_VALUES" |
Variant options are not enough. |
NegativePriceValue | "NEGATIVE_PRICE_VALUE" |
Price cannot take a negative value. |
NoInventoryQuantitesDuringUpdate | "NO_INVENTORY_QUANTITES_DURING_UPDATE" |
Inventory quantities cannot be provided during update. |
NoInventoryQuantitiesOnVariantsUpdate | "NO_INVENTORY_QUANTITIES_ON_VARIANTS_UPDATE" |
Inventory quantities cannot be updated with variants API. |
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. |
ProductVariantDoesNotExist | "PRODUCT_VARIANT_DOES_NOT_EXIST" |
Product variant does not exist. |
ProductVariantIdMissing | "PRODUCT_VARIANT_ID_MISSING" |
Product variant is missing ID attribute. |
SubscriptionViolation | "SUBSCRIPTION_VIOLATION" |
You reached the limit of available SKUs in your current plan. |
VariantAlreadyExists | "VARIANT_ALREADY_EXISTS" |
The variant already exists. |