DraftOrderAppliedDiscount - admin-graphql - OBJECT
Version: 2024-07
Description:
The order-level discount applied to a draft order.
Access Scopes
`read_draft_orders` access scope.
Fields
-
amount:
Money! -
Amount of the order-level discount that's applied to the draft order in shop currency.
-
amountSet:
MoneyBag! -
The amount of money discounted, with values shown in both shop currency and presentment currency.
-
amountV2:
MoneyV2! -
Amount of money discounted.
-
description:
String! -
Description of the order-level discount.
-
title:
String -
Name of the order-level discount.
-
value:
Float! -
The order level discount amount. If `valueType` is `"percentage"`,
then `value` is the percentage discount.
-
valueType:
DraftOrderAppliedDiscountType! -
Type of the order-level discount.
Connections
Related queries
Related mutations
Related Unions
Examples