Price List Price
Requires access scope. Also: The user must have permission to view catalogs.
Pricing for a on a . Represents the variant's price, compare-at price, and whether the price is fixed or calculated using percentage-based adjustments. The distinguishes between prices set directly on the price list (fixed) and prices calculated using the price list's adjustment configuration (relative).
Learn more about building catalogs with different pricing models.
Anchor to FieldsFields
- Anchor to compareAtPricecompare•Money
At Price V2 The compare-at price of the product variant on this price list.
- Anchor to originTypeorigin•Price
Type List Price Origin Type! non-null The origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration).
- Anchor to priceprice•Money
V2! non-null The price of the product variant on this price list.
- Anchor to quantityPriceBreaksquantity•Quantity
Price Breaks Price Break Connection! non-null A list of quantity breaks for the product variant.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
- Anchor to sortKeysort•Quantity
Key Price Break Sort Keys Default:MINIMUM_QUANTITY 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.
Arguments
- Anchor to variantvariant•Product
Variant! non-null The product variant associated with this price.
Anchor to MutationsMutations
- •mutation
Creates or updates fixed prices on a
. Use this mutation to set specific prices forobjects that override the price list's default percentage-based adjustments.When you add fixed prices, the mutation replaces any existing fixed prices for those variants on the price list.
- Anchor to priceListIdprice•ID!
List Id required The ID of the price list to which the fixed prices will be added or updated.
- Anchor to pricesprices•[Price
List Price Input!]! required The list of fixed prices to add or update in the price list.
Arguments
- •mutation
Updates fixed prices on a
. This mutation lets you add new fixed prices for specificobjects 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.
- Anchor to priceListIdprice•ID!
List Id required The price list that the prices will be updated against.
- Anchor to pricesToAddprices•[Price
To Add List Price Input!]! required The fixed prices to add.
- Anchor to variantIdsToDeletevariant•[ID!]!
Ids To Delete required A list of product variant IDs to remove from the price list.
Arguments