Skip to main content
object

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

Pricing for a ProductVariant on a PriceList. Represents the variant's price, compare-at price, and whether the price is fixed or calculated using percentage-based adjustments. The PriceListPriceOriginType 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.

•MoneyV2

The compare-at price of the product variant on this price list.

•PriceListPriceOriginType!
non-null

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

•MoneyV2!
non-null

The price of the product variant on this price list.

•QuantityPriceBreakConnection!
non-null

A list of quantity breaks for the product variant.

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.

•QuantityPriceBreakSortKeys
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.


•ProductVariant!
non-null

The product variant associated with this price.


Was this section helpful?

•mutation

Creates or updates fixed prices on a PriceList. Use this mutation to set specific prices for ProductVariant objects 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.

Arguments

•ID!
required

The ID of the price list to which the fixed prices will be added or updated.

•[PriceListPriceInput!]!
required

The list of fixed prices to add or update in the price list.


•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.



Was this section helpful?