Anchor to CalculatedDiscountApplicationCalculated
CalculatedDiscountApplication
interface
Requires access scope.
A discount application involved in order editing that might be newly added or have new changes applied.
Anchor to FieldsFields
- Anchor to allocationMethodallocation•
Method The method by which the discount's value is allocated to its entitled items.
- Anchor to appliedToapplied•
To DiscountApplication non-nullLevel! The level at which the discount was applied.
- Anchor to descriptiondescription•
The description of discount application. Indicates the reason why the discount was applied.
- •ID!non-null
A globally-unique ID.
- Anchor to targetSelectiontarget•
Selection How the discount amount is distributed on the discounted lines.
- Anchor to targetTypetarget•
Type DiscountApplication non-nullTarget Type! Whether the discount is applied on line items or shipping lines.
- Anchor to valuevalue•Pricing
Value! non-null The value of the discount application.
Was this section helpful?
{
"allocationMethod": "",
"appliedTo": "",
"description": "",
"id": "",
"targetSelection": "",
"targetType": "",
"value": ""
}
{
"allocationMethod": "",
"appliedTo": "",
"description": "",
"id": "",
"targetSelection": "",
"targetType": "",
"value": ""
}
interface CalculatedDiscountApplication {
allocationMethod: DiscountApplicationAllocationMethod!
appliedTo: DiscountApplicationLevel!
description: String
id: ID!
targetSelection: DiscountApplicationTargetSelection!
targetType: DiscountApplicationTargetType!
value: PricingValue!
}