Price List Fixed Prices By Product Update Payload
Return type for mutation.
Anchor to FieldsFields
- priceList (PriceList)
- pricesToAddProducts ([Product!])
- pricesToDeleteProducts ([Product!])
- userErrors ([PriceListFixedPricesByProductBulkUpdateUserError!]!)
- 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.
Anchor to Mutations with this payloadMutations with this payload
- priceListFixedPricesByProductUpdate (PriceListFixedPricesByProductUpdatePayload)
- •mutation
Sets or removes fixed prices for all variants of a
Producton 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.- 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 priceListIdprice•ID!
List Id required The price list to update the prices for.
Arguments