Anchor to DraftOrderPlatformDiscountDraft
objectDraft Order Platform Discount
Requires access scope.
The platform discounts applied to the draft order.
Anchor to FieldsFields
- Anchor to allocationsallocations•[Draft
Order Platform Discount Allocation!]! non-null Price reduction allocations across the draft order's lines.
- Anchor to automaticDiscountautomatic•Boolean!
Discount non-null Whether the discount is an automatic discount.
- Anchor to bxgyDiscountbxgy•Boolean!
Discount non-null Whether the discount is a buy x get y discount.
- Anchor to codecode•String
If a code-based discount, the code used to add the discount.
- Anchor to discountNodediscount•Discount
Node Node The discount node for the platform discount.
- •ID
The ID of the discount.
- Anchor to presentationLevelpresentation•String!
Level non-null Whether the discount is line, order or shipping level.
- Anchor to shortSummaryshort•String!
Summary 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•Money
Amount V2! non-null The discount total amount in shop currency.
- Anchor to totalAmountPriceSettotal•Money
Amount Price Set Bag! non-null The amount of money discounted, with values shown in both shop currency and presentment currency.
- Anchor to discountClassdiscount•Discount
Class Class! non-nullDeprecated
Was this section helpful?