Price List Price User Error
Requires access scope.
An error for a failed price list price operation.
Anchor to FieldsFields
- 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
- •mutation
Creates or updates fixed prices on a price list. You can use the
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.
- Anchor to priceListIdprice•ID!required
List Id 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
- Anchor to pricesprices•[Price
List Price!] The list of fixed prices that were added to or updated in the price list.
- Anchor to userErrorsuser•[Price
Errors List Price User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •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!required
List Id The ID of the price list from which the fixed prices will be removed.
- Anchor to variantIdsvariant•[ID!]!required
Ids A list of product variant IDs whose fixed prices will be removed from the price list.
Arguments
- Anchor to deletedFixedPriceVariantIdsdeleted•[ID!]
Fixed Price Variant Ids A list of product variant IDs whose fixed prices were removed from the price list.
- Anchor to userErrorsuser•[Price
Errors List Price User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields
- •mutation
Updates fixed prices on a price list. You can use the
mutation to set a fixed price for specific product variants or to delete prices for variants associated with the price list.
- Anchor to priceListIdprice•ID!required
List Id 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!]!required
Ids To Delete A list of product variant IDs to remove from the price list.
Arguments
- Anchor to deletedFixedPriceVariantIdsdeleted•[ID!]
Fixed Price Variant Ids A list of deleted variant IDs for prices.
- Anchor to priceListprice•Price
List List The price list for which the fixed prices were modified.
- Anchor to pricesAddedprices•[Price
Added List Price!] The prices that were added to the price list.
- Anchor to userErrorsuser•[Price
Errors List Price User Error!]!non-null The list of errors that occurred from executing the mutation.
Fields