Anchor to priceListFixedPricesUpdateprice
mutationprice List Fixed Prices Update
Requires access scope. Also: The user must have permission to create and edit catalogs.
Updates fixed prices on a . This mutation lets you add new fixed prices for specific 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.
Anchor to Arguments
Arguments
- Anchor to priceListIdprice•ID!
List Id required The price list that the prices will be updated against.
- Anchor to pricesToAddprices•[Price
To Add List Price Input!]! required The fixed prices to add.
- Anchor to variantIdsToDeletevariant•[ID!]!
Ids To Delete required A list of product variant IDs to remove from the price list.
Was this section helpful?
- Anchor to deletedFixedPriceVariantIdsdeleted•[ID!]
Fixed Price Variant Ids A list of deleted variant IDs for prices.
- Anchor to priceListprice•Price
List List The price list for which the fixed prices were modified.
- Anchor to pricesAddedprices•[Price
Added List Price!] The prices that were added to the price list.
- Anchor to userErrorsuser•[Price
Errors List Price User Error!]! non-null The list of errors that occurred from executing the mutation.
Was this section helpful?