LineItemInput
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
Represents a single line item on an order.
Arguments
Argument | Description |
---|---|
aliases ([AliasInput]) | Unique identifiers of the line item Id in the order of the merchant’s store. |
amount (AmountInput) | |
clientDetails (ClientDetailsInput) | Represents context for the buying application, like browser, ip fingerprints etc. |
discounts (DiscountAllocationInput) | Promotional discounts allocated to the line item. |
lineItemAliases ([AliasInput]) | DeprecatedUse Unique identifiers of the line item Id in the order of the merchant’s store. |
payments (PaymentsInput) | Contains either a summary or the details of payments that apply to this specific line item. Payments that don't apply to specific line items should be included in the order input directly. |
purchasedItem (PurchasedItemInput) | DeprecatedConsider migrating to newer version of API Snapshot of purchased item details at the time of Order initiation. |
quantity (QuantityInput) | DeprecatedUse The amount of units being transferred. |
selectedDeliveryOffer (DeliveryOfferInput required) | Shopper selected delivery offer for this line item. |
taxes (TaxInput) | The tax(es) applied on the line item. |
Updated 3 days ago