Anchor to section titled 'undefined'

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.


Anchor to productId
productId
required

The ID of the product with the variants to update.

Anchor to variantsIds
variantsIds
required

An array of product variants IDs to delete.


Was this section helpful?

The updated product object.

The list of errors that occurred from executing the mutation.


Was this section helpful?