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 price list. You can use the priceListFixedPricesAdd mutation to set a fixed price for specific product variants. This lets you change product variant pricing on a per country basis. Any existing fixed price list prices for these variants will be overwritten.

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.


Fields

•[PriceListPrice!]

The list of fixed prices that were added to or updated in the price list.

•[PriceListPriceUserError!]!non-null

The list of errors that occurred from executing the mutation.

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


Fields

Anchor to deletedFixedPriceVariantIdsdeletedFixedPriceVariantIds
•[ID!]

A list of product variant IDs whose fixed prices were removed from the price list.

•[PriceListPriceUserError!]!non-null

The list of errors that occurred from executing the mutation.

•mutation

Updates fixed prices on a price list. You can use the priceListFixedPricesUpdate mutation to set a fixed price for specific product variants or to delete prices for variants associated with the price list.

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.


Fields

Anchor to deletedFixedPriceVariantIdsdeletedFixedPriceVariantIds
•[ID!]

A list of deleted variant IDs for prices.

•PriceList

The price list for which the fixed prices were modified.

•[PriceListPrice!]

The prices that were added to the price list.

•[PriceListPriceUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?


Was this section helpful?