productVariantsBulkDelete mutation

Version unstable

Deletes product variants in bulk.

Required access

write_products access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
productId ( ID! ) required

The ID of the product with the variants to update.

variantsIds ( [ID!]! ) required

An array of product variants IDs to delete.

Return fields

Version 2021-10 (Release candidate)

Deletes product variants in bulk.

Required access

write_products access scope.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

Argument Description
productId ( ID! ) required

The ID of the product with the variants to update.

variantsIds ( [ID!]! ) required

An array of product variants IDs to delete.

Return fields

Version 2021-07 (Latest)

Deletes product variants in bulk.

Required access

write_products access scope.