DeliveryOfferInput

Version 2024-11-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

DeliveryInput captures agreed upon delivery information for items.

The input is either DeliverySummaryInput or DeliveryDetailsInput and never both. The delivery 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 use-cases we expect recipient to be added at a delivery offer level.

DeliverySummaryInput captures the minimum information required to represent expected delivery details on the order. DeliveryDetailsInput captures customer's delivery offer or terms selection during checkout. If the delivery offer is a Buy with Prime delivery offer, then this should be used.

Arguments

ArgumentDescription
details (DeliveryOfferDetailsInput)

Represents customer's delivery 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 selection during checkout.