Updates the fixed prices for all variants for a product on a price list. You can use the `priceListFixedPricesByProductUpdate` mutation to set or remove a fixed price for all variants of a product associated with the price list.
Access Scopes
`write_products` access scope. Also: The user has edit product price permissions.
Arguments
priceListId:
ID! -
The price list to update the prices for.
pricesToAdd:
PriceListProductPriceInput -
A list of `PriceListProductPriceInput` that identifies which products to update the fixed prices for.
pricesToDeleteByProductIds:
ID -
A list of product IDs that identifies which products to remove the fixed prices for.
Returns
priceList:
PriceList
The price list for which the fixed prices were modified.
pricesToAddProducts:
Product
The product for which the fixed prices were added.