Skip to main content
Log inSign up
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?