Anchor to section titled 'undefined'

ProductOptionsDeleteUserErrorCode
enum

Possible error codes that can be returned by ProductOptionsDeleteUserError.


value-cannotdeleteoptionwithmultiplevalues
CANNOT_DELETE_OPTION_WITH_MULTIPLE_VALUES

Can't delete option with multiple values.

value-cannotmakechangesifvariantismissingrequiredsku
CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU

At least one of the product variants has invalid SKUs.

value-cannotusenondestructivestrategy
CANNOT_USE_NON_DESTRUCTIVE_STRATEGY

Cannot delete options without deleting variants.

value-optionsdonotbelongtothesameproduct
OPTIONS_DO_NOT_BELONG_TO_THE_SAME_PRODUCT

Options do not belong to the same product.

value-optiondoesnotexist
OPTION_DOES_NOT_EXIST

Option does not exist.

value-productdoesnotexist
PRODUCT_DOES_NOT_EXIST

Product does not exist.

value-productsuspended
PRODUCT_SUSPENDED

Product is suspended.


Was this section helpful?

The error code.


Was this section helpful?
Map
ProductOptionsDeleteUserErrorCode