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 productVariantsBulkDelete

productVariantsBulkDelete

mutation

Requires write_products access scope. Also: The user must have a permission to delete product variants.

Deletes multiple variants in a single product. This mutation can be called directly or via the bulkOperation.

ID!required

The ID of the product with the variants to update.

[ID!]!required

An array of product variants IDs to delete.


Was this section helpful?

Anchor to ProductVariantsBulkDeletePayload returnsProductVariantsBulkDeletePayload returns

The updated product object.

The list of errors that occurred from executing the mutation.


Was this section helpful?