--- title: QuantityPricingByVariantUserError - GraphQL Admin description: Error codes for failed volume pricing operations. api_version: 2025-10 api_name: admin type: object api_type: graphql source_url: html: https://shopify.dev/docs/api/admin-graphql/latest/objects/quantitypricingbyvariantusererror md: https://shopify.dev/docs/api/admin-graphql/latest/objects/quantitypricingbyvariantusererror.md --- # Quantity​Pricing​By​Variant​User​Error object Requires `read_products` access scope. Also: The user must have permission to create and edit catalogs, and the shop requires B2B features enabled. Error codes for failed volume pricing operations. ## Fields * code [Quantity​Pricing​By​Variant​User​Error​Code](https://shopify.dev/docs/api/admin-graphql/latest/enums/QuantityPricingByVariantUserErrorCode) The error code. * field [\[String!\]](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) The path to the input field that caused the error. * message [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String) non-null The error message. *** ## Map No referencing types *** ## Mutations * [quantity​Pricing​By​Variant​Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/quantityPricingByVariantUpdate) mutation Updates quantity pricing on a price list. You can use the `quantityPricingByVariantUpdate` mutation to set fixed prices, quantity rules, and quantity price breaks. This mutation does not allow partial successes. If any of the requested resources fail to update, none of the requested resources will be updated. Delete operations are executed before create operations. * price​List​Id [ID!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/ID) required ### Arguments The ID of the price list for which quantity pricing will be updated. * input [Quantity​Pricing​By​Variant​Update​Input!](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/QuantityPricingByVariantUpdateInput) required The input data used to update the quantity pricing in the price list. *** *** ## <\~> QuantityPricingByVariantUserError Mutations ### Mutated by * <\~>[quantity​Pricing​By​Variant​Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/quantityPricingByVariantUpdate) *** ## Interfaces * [Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError) interface *** ## ||-QuantityPricingByVariantUserError Implements ### Implements * ||-[Displayable​Error](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/DisplayableError)