DiscountAllocationDetails
Version 2024-04-01
Overview
Details for the discount allocated to an entity.
With DiscountAllocationInput we can support the following use cases:
- associate the discount details like discount amount and couponCodes(if any) with the line item in the shopper's order confirmation page.
- associate the discount details like discount amount and couponCodes(if any) with the line item in the merchant's order management page.
- give refund estimate in case specific LineItems are returned.
Fields
Field | Description |
---|---|
aliases ([Alias]) | Unique identifiers of promotion entities such as external promotion id. |
amount (Money required) | The discount amount. |
couponCode (String) | The coupon code used to redeem the promotion. |
displayString (String) | The message for display which indicates why this promotion was applied to the corresponding entity. |
promotionAliases ([Alias]) | DeprecatedUse Unique identifiers of promotion entities such as external promotion id. |
Updated about 2 months ago