API version: unstable
API version: 2021-07 Release candidate
API version: 2021-04 Latest
API version: 2021-01
API version: 2020-10
API version: 2020-07
API version: 2020-04
API version: 2020-01 Unsupported
API version: 2019-10 Unsupported

priceListFixedPricesAdd mutation

Version unstable

Creates or updates fixed prices on a price list. You can use the priceListFixedPricesAdd mutation to set a fixed price for specific product variants. This lets you change product variant pricing on a per country basis. Any existing fixed price list prices for these variants will be overwritten.

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 price list that the prices will be added to.

prices ( [PriceListPriceInput!]! ) required

The fixed prices to add.

PriceListPriceInput fields

  • compareAtPrice (MoneyInput)

    The compare-at price of the product variant on this price list.

  • price (MoneyInput!) Required

    The price of the product variant on this price list.

  • variantId (ID!) Required

    The product variant ID associated with the price list price.

Return fields

Version 2021-07 (Release candidate)

Creates or updates fixed prices on a price list. You can use the priceListFixedPricesAdd mutation to set a fixed price for specific product variants. This lets you change product variant pricing on a per country basis. Any existing fixed price list prices for these variants will be overwritten.

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 price list that the prices will be added to.

prices ( [PriceListPriceInput!]! ) required

The fixed prices to add.

PriceListPriceInput fields

  • compareAtPrice (MoneyInput)

    The compare-at price of the product variant on this price list.

  • price (MoneyInput!) Required

    The price of the product variant on this price list.

  • variantId (ID!) Required

    The product variant ID associated with the price list price.

Return fields

Version 2021-04 (Latest)

Creates or updates fixed prices on a price list. You can use the priceListFixedPricesAdd mutation to set a fixed price for specific product variants. This lets you change product variant pricing on a per country basis. Any existing fixed price list prices for these variants will be overwritten.

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 price list that the prices will be added to.

prices ( [PriceListPriceInput!]! ) required

The fixed prices to add.

PriceListPriceInput fields

  • compareAtPrice (MoneyInput)

    The compare-at price of the product variant on this price list.

  • price (MoneyInput!) Required

    The price of the product variant on this price list.

  • variantId (ID!) Required

    The product variant ID associated with the price list price.

Return fields