Skip to main content
object

Requires read_products access scope. Also: The user must have a permission to view catalogs.

Represents a price list, including information about related prices and eligibility rules. You can use price lists to specify either fixed prices or adjusted relative prices that override initial product variant prices. Price lists are applied to customers using context rules, which determine price list eligibility.

For more information on price lists, refer to Support different pricing models.

Anchor to Fields and connectionsFields and connections

•

The catalog that the price list is associated with.

•

The currency for fixed prices associated with this price list.

•
Int!non-null

The number of fixed prices on the price list.

•
ID!non-null

A globally-unique ID.

•
String!non-null

The unique name of the price list, used as a human-readable identifier.

•

Relative adjustments to other prices.

•

A list of prices associated with the price list.

•

A list of quantity rules associated with the price list, ordered by product variants.


Was this section helpful?

•
query

Returns a price list resource by ID.

•
query

All price lists for a shop.


Was this section helpful?

•
mutation

Creates a price list. You can use the priceListCreate mutation to create a new price list and associate it with a catalog. This enables you to sell your products with contextual pricing.

Arguments

•

The properties of the new price list.


Fields

•

The newly created price list.

•

The list of errors that occurred from executing the mutation.

•
mutation

Updates the fixed prices for all variants for a product on a price list. You can use the priceListFixedPricesByProductUpdate mutation to set or remove a fixed price for all variants of a product associated with the price list.

Arguments

•
ID!required

The price list to update the prices for.

•

A list of PriceListProductPriceInput that identifies which products to update the fixed prices for.

Anchor to pricesToDeleteByProductIdspricesToDeleteByProductIds
•

A list of product IDs that identifies which products to remove the fixed prices for.


Fields

•

The price list for which the fixed prices were modified.

•

The product for which the fixed prices were added.

Anchor to pricesToDeleteProductspricesToDeleteProducts
•

The product for which the fixed prices were deleted.

•

The list of errors that occurred from executing the mutation.

•
mutation

Updates fixed prices on a price list. You can use the priceListFixedPricesUpdate mutation to set a fixed price for specific product variants or to delete prices for variants associated with the price list.

Arguments

•
ID!required

The price list that the prices will be updated against.

•

The fixed prices to add.

•
[ID!]!required

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


Fields

Anchor to deletedFixedPriceVariantIdsdeletedFixedPriceVariantIds
•

A list of deleted variant IDs for prices.

•

The price list for which the fixed prices were modified.

•

The prices that were added to the price list.

•

The list of errors that occurred from executing the mutation.

•
mutation

Updates a price list. If you modify the currency, then any fixed prices set on the price list will be deleted.

Arguments

•
ID!required

The ID of the price list to update.

•

The input data used to update the price list.


Fields

•

The updated price list.

•

The list of errors that occurred from executing the mutation.


Was this section helpful?

•
interface

Was this section helpful?