DraftOrderPlatformDiscount
Requires access scope.
The platform discounts applied to the draft order.
Anchor to FieldsFields
- Anchor to allocationsallocations•
Price reduction allocations across the draft order's lines.
- Anchor to automaticDiscountautomatic•
Discount Boolean!non-null Whether the discount is an automatic discount.
- Anchor to bxgyDiscountbxgy•
Discount Boolean!non-null Whether the discount is a buy x get y discount.
- Anchor to codecode•
If a code-based discount, the code used to add the discount.
- Anchor to discountNodediscount•
Node The discount node for the platform discount.
- •
The ID of the discount.
- Anchor to presentationLevelpresentation•
Level String!non-null Whether the discount is line, order or shipping level.
- Anchor to shortSummaryshort•
Summary String!non-null The short summary of the discount.
- Anchor to summarysummary•String!non-null
The summary of the discount.
- Anchor to titletitle•String!non-null
The name of the discount.
- Anchor to totalAmounttotal•
Amount MoneyV2! non-null The discount total amount in shop currency.
- Anchor to totalAmountPriceSettotal•
Amount Price Set MoneyBag! non-null The amount of money discounted, with values shown in both shop currency and presentment currency.
- Anchor to discountClassdiscount•
Class The discount class. Use
instead.