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.
Arguments
The ID of the product with the variants to update.
An array of product variants IDs to delete.
Was this section helpful?
ProductVariantsBulkDeletePayload returns
The updated product object.
The list of errors that occurred from executing the mutation.
Was this section helpful?