Skip to main content
Anchor to PriceListPriceUserError

PriceListPriceUserError

object

Requires read_products access scope.

An error for a failed price list price operation.

•PriceListPriceUserErrorCode

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

Deletes specific fixed prices from a price list using a product variant ID. You can use the priceListFixedPricesDelete mutation to delete a set of fixed prices from a price list. After deleting the set of fixed prices from the price list, the price of each product variant reverts to the original price that was determined by the price list adjustment.

Arguments

•ID!
required

The ID of the price list from which the fixed prices will be removed.

•[ID!]!
required

A list of product variant IDs whose fixed prices will be removed from 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?


Was this section helpful?