Skip to main content
union

Requires customer_read_orders access scope or customer_read_draft_orders access scope.

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

•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.

•OBJECT

Represents the value of the percentage pricing 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?