Skip to main content
Anchor to ProductVariantsBulkDeleteUserError

ProductVariantsBulkDeleteUserError

object

Requires read_products access scope.

Error codes for failed bulk variant delete mutations.

•ProductVariantsBulkDeleteUserErrorCode

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 multiple variants in a single Product. Specify the product ID and an array of variant IDs to remove variants in bulk. You can call this mutation directly or through the bulkOperationRunMutation mutation. Returns the updated product and any UserError objects.

Arguments

•[ID!]!
required

An array of product variants IDs to delete.

•ID!
required

The ID of the product with the variants to update.



Was this section helpful?


Was this section helpful?