--- title: PricingValue - Customer API description: The price value (fixed or percentage) for a discount application. api_version: 2025-10 api_name: customer type: union api_type: graphql source_url: html: https://shopify.dev/docs/api/customer/latest/unions/pricingvalue md: https://shopify.dev/docs/api/customer/latest/unions/pricingvalue.md --- # Pricing​Value union The price value (fixed or percentage) for a discount application. ## Possible types * [Money​V2](https://shopify.dev/docs/api/customer/latest/objects/MoneyV2) OBJECT A precise monetary value and its associated currency. For example, 12.99 USD. * amount [Decimal!](https://shopify.dev/docs/api/customer/latest/scalars/Decimal) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99. * currency​Code [Currency​Code!](https://shopify.dev/docs/api/customer/latest/enums/CurrencyCode) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The three-letter currency code that represents a world currency used in a store. Currency codes include standard [standard ISO 4217 codes](https://en.wikipedia.org/wiki/ISO_4217), legacy codes, and non-standard codes. For example, USD. * [Pricing​Percentage​Value](https://shopify.dev/docs/api/customer/latest/objects/PricingPercentageValue) OBJECT Represents the value of the percentage pricing object. * percentage [Float!](https://shopify.dev/docs/api/customer/latest/scalars/Float) non-null[Pre-auth accessible](https://shopify.dev/docs/apps/build/customer-accounts/order-status-page#customer-account-api) The percentage value of the object. *** ## Fields with this union * [Automatic​Discount​Application.​value](https://shopify.dev/docs/api/customer/latest/objects/AutomaticDiscountApplication#field-value) OBJECT Captures the intentions of a discount that was automatically applied. * [Discount​Application.​value](https://shopify.dev/docs/api/customer/latest/interfaces/DiscountApplication#field-value) INTERFACE Captures the intentions of a discount source at the time of application. * [Discount​Code​Application.​value](https://shopify.dev/docs/api/customer/latest/objects/DiscountCodeApplication#field-value) OBJECT Captures the intentions of a discount code at the time that it is applied. * [Manual​Discount​Application.​value](https://shopify.dev/docs/api/customer/latest/objects/ManualDiscountApplication#field-value) OBJECT Captures the intentions of a discount that was manually created. * [Script​Discount​Application.​value](https://shopify.dev/docs/api/customer/latest/objects/ScriptDiscountApplication#field-value) OBJECT Captures the intentions of a discount that was created by a Shopify Script. *** ```graphql union PricingValue = MoneyV2 | PricingPercentageValue ```