Skip to main content
Anchor to priceListFixedPricesAdd

priceListFixedPricesAdd

mutation

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

Creates or updates fixed prices on a PriceList. Use this mutation to set specific prices for ProductVariant objects that override the price list's default percentage-based adjustments.

When you add fixed prices, the mutation replaces any existing fixed prices for those variants on the price list.

•ID!
required

The ID of the price list to which the fixed prices will be added or updated.

•[PriceListPriceInput!]!
required

The list of fixed prices to add or update in the price list.


Was this section helpful?

Anchor to PriceListFixedPricesAddPayload returnsPriceListFixedPricesAddPayload returns

•[PriceListPrice!]

The list of fixed prices that were added to or updated in the price list.

•[PriceListPriceUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?