Skip to main content
Anchor to PriceListFixedPricesUpdatePayload

PriceListFixedPricesUpdatePayload

payload

Return type for priceListFixedPricesUpdate mutation.

Anchor to deletedFixedPriceVariantIdsdeletedFixedPriceVariantIds
•[ID!]

A list of deleted variant IDs for prices.

•PriceList

The price list for which the fixed prices were modified.

Show fields
•[PriceListPrice!]

The prices that were added to the price list.

Show fields
•[PriceListPriceUserError!]!
non-null

The list of errors that occurred from executing the mutation.

Show fields

Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Updates fixed prices on a PriceList. This mutation lets you add new fixed prices for specific ProductVariant objects and remove existing prices in a single operation.

Use this mutation to modify variant pricing on a price list by providing prices to add and variant IDs to delete.

Learn more about setting fixed prices for product variants.

Show payload

Arguments

•ID!
required

The price list that the prices will be updated against.

•[PriceListPriceInput!]!
required

The fixed prices to add.

Show input fields
•[ID!]!
required

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



Was this section helpful?