Skip to main content
Anchor to ProductOptionsDeleteUserError

ProductOptionsDeleteUserError

object

Requires read_products access scope.

Error codes for failed ProductOptionsDelete mutation.

•ProductOptionsDeleteUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!non-null

The error message.


Was this section helpful?

•mutation

Deletes the specified options.

Arguments

•[ID!]!required

IDs of the options to delete from the product.

•ID!required

ID of the product from which to delete the options.

•ProductOptionDeleteStrategyDefault:DEFAULT

The strategy defines which behavior the mutation should observe,such as how to handle a situation where deleting an option would result in duplicate variants.


Fields

•[ID!]

IDs of the options deleted.

•Product

The updated product object.

•[ProductOptionsDeleteUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?