Skip to main content
Log inSign up

Shopify uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our privacy policy and our cookie policy.

Anchor to ProductOptionsDeleteUserErrorCode

ProductOptionsDeleteUserErrorCode

enum

Possible error codes that can be returned by ProductOptionsDeleteUserError.

Anchor to CANNOT_DELETE_OPTION_WITH_MULTIPLE_VALUESCANNOT_DELETE_OPTION_WITH_MULTIPLE_VALUES
•

Can't delete option with multiple values.

Anchor to CANNOT_DELETE_VARIANT_WITHOUT_PERMISSIONCANNOT_DELETE_VARIANT_WITHOUT_PERMISSION
•

Cannot perform option deletion because it would result in deleting variants, and you don't have the required permissions.

Anchor to CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKUCANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU
•

At least one of the product variants has invalid SKUs.

Anchor to CANNOT_USE_NON_DESTRUCTIVE_STRATEGYCANNOT_USE_NON_DESTRUCTIVE_STRATEGY
•

Cannot delete options without deleting variants.

Anchor to OPTION_DOES_NOT_EXISTOPTION_DOES_NOT_EXIST
•

Option does not exist.

Anchor to OPTIONS_DO_NOT_BELONG_TO_THE_SAME_PRODUCTOPTIONS_DO_NOT_BELONG_TO_THE_SAME_PRODUCT
•

Options do not belong to the same product.

Anchor to PRODUCT_DOES_NOT_EXISTPRODUCT_DOES_NOT_EXIST
•

Product does not exist.

•

Product is suspended.


Was this section helpful?


Was this section helpful?