Skip to main content
Anchor to priceListFixedPricesUpdate

priceListFixedPricesUpdate

mutation

Requires write_products access scope. Also: The user must have permission to create and edit catalogs.

Updates fixed prices on a price list. You can use the priceListFixedPricesUpdate mutation to set a fixed price for specific product variants or to delete prices for variants associated with the price list.

•ID!required

The price list that the prices will be updated against.

•[PriceListPriceInput!]!required

The fixed prices to add.

•[ID!]!required

A list of product variant IDs to remove from the price list.


Was this section helpful?

Anchor to PriceListFixedPricesUpdatePayload returnsPriceListFixedPricesUpdatePayload returns

Anchor to deletedFixedPriceVariantIdsdeletedFixedPriceVariantIds
•[ID!]

A list of deleted variant IDs for prices.

•PriceList

The price list for which the fixed prices were modified.

•[PriceListPrice!]

The prices that were added to the price list.

•[PriceListPriceUserError!]!non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?
OSZAR »