Skip to main content
union

The price value (fixed or percentage) for a discount application.

•OBJECT

A precise monetary value and its associated currency. For example, 12.99 USD.

•Decimal!

A monetary value in decimal format, allowing for precise representation of cents or fractional currency. For example, 12.99.

•CurrencyCode!

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.

•Float!

The percentage value of the object.


Was this section helpful?

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.


Was this section helpful?