priceListFixedPricesDelete mutation

Version unstable

Deletes specific prices from a price list using a product variant ID. You can use the priceListFixedPricesDelete mutation to delete a partial set of prices on a price list. After deletion, the prices no longer apply for products in the country.

Required access

write_products access scope. Also: The shop has the international_price_overrides feature.

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
priceListId ( ID! ) required

The ID of the price list to delete the prices from.

variantIds ( [ID!]! ) required

A list of product variant IDs to remove from the price list.

Return fields

  • deletedFixedPriceVariantIds ([ID!])

    A list of deleted variant IDs for prices.

  • List of errors that occurred from executing the mutation.

Version 2021-10 (Release candidate)

Deletes specific prices from a price list using a product variant ID. You can use the priceListFixedPricesDelete mutation to delete a partial set of prices on a price list. After deletion, the prices no longer apply for products in the country.

Required access

write_products access scope. Also: The shop has the international_price_overrides feature.

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
priceListId ( ID! ) required

The ID of the price list to delete the prices from.

variantIds ( [ID!]! ) required