Skip to main content
Anchor to PriceListFixedPricesByProductBulkUpdateUserError

PriceListFixedPricesByProductBulkUpdateUserError

object

Requires read_products access scope. Also: The user must have permission to view catalogs.

Error codes for failed price list fixed prices by product bulk update operations.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•mutation

Updates the fixed prices for all variants for a product on a price list. You can use the priceListFixedPricesByProductBulkUpdate mutation to set or remove a fixed price for all variants of a product associated with the price list.

Arguments

•ID!
required

The price list to update the prices for.

•[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.


•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

•ID!
required

The price list to update the prices for.

•[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.



Was this section helpful?


Was this section helpful?