Anchor to priceListFixedPricesUpdateprice
mutationprice List Fixed Prices Update
Requires access scope. Also: The user must have permission to create and edit catalogs.
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 Arguments
Arguments
- 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.
Was this section helpful?
- 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.
Was this section helpful?