PriceList
Requires 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
- Anchor to catalogcatalog•
The catalog that the price list is associated with.
- Anchor to currencycurrency•Currency
Code! non-null The currency for fixed prices associated with this price list.
- Anchor to fixedPricesCountfixed•
Prices Count Int!non-null The number of fixed prices on the price list.
- •ID!non-null
A globally-unique ID.
- Anchor to namename•String!non-null
The unique name of the price list, used as a human-readable identifier.
- Anchor to parentparent•
Relative adjustments to other prices.
- Anchor to pricesprices•Price
List non-nullPrice Connection! A list of prices associated with the price list.
- Anchor to quantityRulesquantity•
Rules QuantityRule non-nullConnection! A list of quantity rules associated with the price list, ordered by product variants.
Map
Anchor to QueriesQueries
- •query
Returns a price list resource by ID.
- •query
All price lists for a shop.
PriceList Queries
Queried by
Anchor to MutationsMutations
- •mutation
Creates a price list. You can use the
mutation to create a new price list and associate it with a catalog. This enables you to sell your products with contextual pricing.
- •mutation
Updates the fixed prices for all variants for a product on a price list. You can use the
mutation to set or remove a fixed price for all variants of a product associated with the price list.
- •mutation
Updates fixed prices on a price list. You can use the
mutation to set a fixed price for specific product variants or to delete prices for variants associated with the price list.
- •mutation
Updates a price list. If you modify the currency, then any fixed prices set on the price list will be deleted.