Anchor to priceListFixedPricesByProductUpdateprice
mutationprice List Fixed Prices By Product Update
Requires access scope. Also: The user must have permission to create and edit catalogs.
Updates the fixed prices for all variants for a product on a price list. You can use the mutation to set or remove a fixed price for all variants of a product associated with the price list.
Anchor to Arguments
Arguments
- Anchor to priceListIdprice•ID!required
List Id 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.
Was this section helpful?
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.
Was this section helpful?