Skip to main content
Anchor to PriceListFixedPricesByProductUpdatePayload

PriceListFixedPricesByProductUpdatePayload

payload

Return type for priceListFixedPricesByProductUpdate mutation.

•PriceList

The price list for which the fixed prices were modified.

•[Product!]

The product for which the fixed prices were added.

Anchor to pricesToDeleteProductspricesToDeleteProducts
•[Product!]

The product for which the fixed prices were deleted.

•[PriceListFixedPricesByProductBulkUpdateUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Sets or removes fixed prices for all variants of a Product on a PriceList. 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 ProductVariant 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

•[PriceListProductPriceInput!]

A list of PriceListProductPriceInput that identifies which products to update the fixed prices for.

Anchor to pricesToDeleteByProductIdspricesToDeleteByProductIds
•[ID!]

A list of product IDs that identifies which products to remove the fixed prices for.

•ID!
required

The price list to update the prices for.



Was this section helpful?