Skip to main content
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.

•ID!
required

The ID of the PriceList to return.


Was this section helpful?

•PriceList

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?