stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > DraftOrderAppliedDiscount

AdminTypes.DraftOrderAppliedDiscount interface

The order-level discount applied to a draft order.

Signature:

export interface DraftOrderAppliedDiscount 

Properties

Property Modifiers Type Description
amount   Scalars[‘Money’][‘output’] Amount of the order-level discount that’s applied to the draft order.
amountSet   MoneyBag The amount of money discounted, with values shown in both shop currency and presentment currency.
amountV2   MoneyV2 Amount of money discounted.
description   Scalars[‘String’][‘output’] Description of the order-level discount.
title?   Maybe<Scalars[‘String’][‘output’]> (Optional) Name of the order-level discount.
value   Scalars[‘Float’][‘output’] The order level discount amount. If valueType is "percentage", then value is the percentage discount.
valueType   DraftOrderAppliedDiscountType | `${DraftOrderAppliedDiscountType}` Type of the order-level discount.