DiscountAllocationsSummaryInput
Version 2024-01-01
Important
The Buy with Prime API is offered as a preview and might change as we receive feedback and iterate on the interfaces. We are sharing this early documentation to help you learn about the Buy with Prime API as we write and iterate on the content.
Overview
A summary of discounts allocated to the entity which contains the minimum information required to represent discounts.
DiscountSummaryInput allows Buy with Prime to associate discounts with Order, LineItem or Delivery offers appropriately.
Arguments
Argument | Description |
---|---|
amount (MoneyInput required) | Aggregated discount amount allocated to the entity. |
displayString (String) | The message for display which indicates why this promotion was applied to the entity. |
Updated 2 days ago