DeliveryOfferInput
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
DeliveryOfferInput captures agreed upon delivery information for items.
The input is either DeliveryOfferSummaryInput or DeliveryOfferDetailsInput and never both. The delivery offer input does not have a recipient set at the delivery offer and will use the recipient set at Order level. As we support multi-recipient usecases we expect recipient to be added at a delivery offer level.
DeliveryOfferSummaryInput captures the minimum information required to represent expected delivery details on the order. DeliveryOfferDetailsInput captures customer's delivery offer selection during checkout. If the delivery offer is a Buy with Prime delivery offer, then this should be used.
Arguments
Argument | Description |
---|---|
details (DeliveryOfferDetailsInput) | Represents customer's delivery offer selection during checkout. If the delivery offer is a Buy with Prime delivery offer, then this should be used. |
summary (DeliveryOfferSummaryInput) | Represents customer's delivery offer selection during checkout. |
Updated 4 days ago