---
title: PricingValue - Customer API
description: The price value (fixed or percentage) for a discount application.
api_version: 2026-01
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. Combines a decimal amount with a three-letter currency code to express prices, costs, and other financial values throughout the API. 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-AutomaticDiscountApplication.fields.value)

  OBJECT

  Captures the intentions of a discount that was automatically applied.

* [Discount​Application.value](https://shopify.dev/docs/api/customer/latest/interfaces/DiscountApplication#fields-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-DiscountCodeApplication.fields.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-ManualDiscountApplication.fields.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-ScriptDiscountApplication.fields.value)

  OBJECT

  Captures the intentions of a discount that was created by a Shopify Script.

***

```graphql
union PricingValue = MoneyV2 | PricingPercentageValue
```
