Anchor to productVariantsBulkDeleteproduct
mutationproduct Variants Bulk Delete
Requires 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 Arguments
Arguments
- Anchor to productIdproduct•ID!required
Id The ID of the product with the variants to update.
- Anchor to variantsIdsvariants•[ID!]!required
Ids An array of product variants IDs to delete.
Was this section helpful?
- Anchor to productproduct•Product
The updated product object.
- Anchor to userErrorsuser•[Product
Errors Variants Bulk Delete User Error!]!non-null The list of errors that occurred from executing the mutation.
Was this section helpful?