priceListFixedPricesDelete mutation
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.
On this page
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.
-
userErrors (
[PriceListPriceUserError!]!
)List of errors that occurred executing the mutation.
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.
On this page
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.
-
userErrors (
[PriceListPriceUserError!]!
)List of errors that occurred executing the mutation.
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.
On this page
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.
-
userErrors (
[PriceListPriceUserError!]!
)List of errors that occurred executing the mutation.