Skip to main content
object

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

A list that defines pricing for product variants. Price lists override default product prices with either fixed prices or percentage-based adjustments.

Each price list associates with a Catalog to determine which customers see the pricing. The catalog's context rules control when the price list applies, such as for specific markets, company locations, or apps.

Learn how to support different pricing models.

•Catalog

The catalog that the price list is associated with.

•CurrencyCode!
non-null

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.

•PriceListParent

Relative adjustments to other prices.

•PriceListPriceConnection!
non-null

A list of prices associated with the price list.

Arguments

•PriceListPriceOriginType

The origin of this price, either fixed (defined on the price list) or relative (calculated using an adjustment via a price list parent configuration).

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

•id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Anchor to product_id
•id
Anchor to variant_id
•id

•QuantityRuleConnection!
non-null

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

Arguments

•QuantityRuleOriginType

Whether the quantity rule is fixed (defined on the price list) or relative (the default quantity rule for the shop).

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.



Was this section helpful?

•query

Returns a PriceList by ID. You can use price lists to specify either fixed prices or adjusted relative prices that override initial Product prices.

Price lists enable contextual pricing for the Catalog they are associated to. Each price list can define fixed prices for specific ProductVariant objects or percentage-based adjustments relative to other prices.

Arguments

•ID!
required

The ID of the PriceList to return.


•query

All price lists for a shop.

Arguments

•Int

The first n elements from the paginated list.

•String

The elements that come after the specified cursor.

•Int

The last n elements from the paginated list.

•String

The elements that come before the specified cursor.

•Boolean
Default:false

Reverse the order of the underlying list.

•PriceListSortKeys
Default:ID

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.



Was this section helpful?

•mutation

Creates a PriceList. Price lists enable contextual pricing by defining fixed prices or percentage-based adjustments.

The price list requires a unique name, currency for fixed prices, and parent adjustment settings that determine how the system calculates prices relative to base prices. To apply contextual pricing, link the price list to a Catalog. When that catalog's context is matched, customers receive the price list's prices.

Learn more about building catalogs with price lists.

Arguments

•PriceListCreateInput!
required

The properties of the new price list.


•mutation

Sets or removes fixed prices for all variants of a Product on a PriceList. Simplifies pricing management when all variants of a product should have the same price on a price list, rather than setting individual variant prices.

When you add a fixed price for a product, all its ProductVariant objects receive the same price on the price list. When you remove a product's fixed prices, all variant prices revert to the price list's adjustment rules.

Arguments

•[PriceListProductPriceInput!]

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

Anchor to pricesToDeleteByProductIdspricesToDeleteByProductIds
•[ID!]

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

•ID!
required

The price list to update the prices for.


•mutation

Updates fixed prices on a PriceList. This mutation lets you add new fixed prices for specific ProductVariant objects and remove existing prices in a single operation.

Use this mutation to modify variant pricing on a price list by providing prices to add and variant IDs to delete.

Learn more about setting fixed prices for product variants.

Arguments

•ID!
required

The price list that the prices will be updated against.

•[PriceListPriceInput!]!
required

The fixed prices to add.

•[ID!]!
required

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


•mutation

Updates a PriceList's configuration, including its name, currency, Catalog association, and pricing adjustments.

Changing the currency removes all fixed prices from the price list. The affected ProductVariant objects revert to prices calculated from the price list's adjustment settings.

Arguments

•ID!
required

The ID of the price list to update.

•PriceListUpdateInput!
required

The input data used to update the price list.



Was this section helpful?

•interface

Was this section helpful?