Pricing Value
The price value (fixed or percentage) for a discount application.
Anchor to Possible typesPossible types
- •OBJECT
A precise monetary value and its associated currency. For example, 12.99 USD.
- Anchor to amountamount•Decimal!non-nullPre-auth accessible
A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99.
- Anchor to currencyCodecurrency•Currency
Code Code! non-nullPre-auth accessible The three-letter currency code that represents a world currency used in a store. Currency codes include standard standard ISO 4217 codes, legacy codes, and non-standard codes. For example, USD.
- •OBJECT
Represents the value of the percentage pricing object.
- Anchor to percentagepercentage•Float!non-nullPre-auth accessible
The percentage value of the object.
Anchor to Fields with this unionFields with this union
- •OBJECT
Captures the intentions of a discount that was automatically applied.
- •INTERFACE
Captures the intentions of a discount source at the time of application.
- •OBJECT
Captures the intentions of a discount code at the time that it is applied.
- •OBJECT
Captures the intentions of a discount that was manually created.
- •OBJECT
Captures the intentions of a discount that was created by a Shopify Script.