Skip to main content
object

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

Error codes for failed contextual pricing operations.

•PriceListUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


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

Deletes a price list. For example, you can delete a price list so that it no longer applies for products in the associated market.

Arguments

•ID!
required

The ID of the price list to be deleted.


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


Was this section helpful?