Price List Price User Error
Requires access scope.
An error for a failed price list price operation.
Anchor to FieldsFields
- code (PriceListPriceUserErrorCode)
- field ([String!])
- message (String!)
- Anchor to codecode•Price
List Price User Error Code The error code.
- Anchor to fieldfield•[String!]
The path to the input field that caused the error.
- Anchor to messagemessage•String!non-null
The error message.
Anchor to MutationsMutations
- priceListFixedPricesAdd (PriceListFixedPricesAddPayload)
- priceListFixedPricesDelete (PriceListFixedPricesDeletePayload)
- priceListFixedPricesUpdate (PriceListFixedPricesUpdatePayload)
- •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
Deletes specific fixed prices from a price list using a product variant ID. You can use the
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.- Anchor to priceListIdprice•ID!
List Id required The ID of the price list from which the fixed prices will be removed.
- Anchor to variantIdsvariant•[ID!]!
Ids required A list of product variant IDs whose fixed prices will be removed from 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