price List Fixed Prices By Product Update
Requires access scope. Also: The user must have permission to create and edit catalogs.
Sets or removes fixed prices for all variants of a Product on a . Simplifies pricing management when all variants of a product should have the same price on a price list, rather than setting individual variant prices.
When you add a fixed price for a product, all its objects receive the same price on the price list. When you remove a product's fixed prices, all variant prices revert to the price list's adjustment rules.
Arguments
- Anchor to priceListIdprice•ID!
List Id required The price list to update the prices for.
- Anchor to pricesToAddprices•[Price
To Add List Product Price Input!] A list of
that identifies which products to update the fixed prices for.- Anchor to pricesToDeleteByProductIdsprices•[ID!]
To Delete By Product Ids A list of product IDs that identifies which products to remove the fixed prices for.
Anchor to PriceListFixedPricesByProductUpdatePayload returnsPrice List Fixed Prices By Product Update Payload returns
- Anchor to priceListprice•Price
List List The price list for which the fixed prices were modified.
- Anchor to pricesToAddProductsprices•[Product!]
To Add Products The product for which the fixed prices were added.
- Anchor to pricesToDeleteProductsprices•[Product!]
To Delete Products The product for which the fixed prices were deleted.
- Anchor to userErrorsuser•[Price
Errors List Fixed Prices By Product Bulk Update User Error!]! non-null The list of errors that occurred from executing the mutation.