LineItemInput

Version 2024-04-01

Overview

Represents a single line item on an order.

Arguments

ArgumentDescription
aliases ([AliasInput])

Unique identifiers of the line item Id in the order of the merchant’s store.

amount (AmountInput required)

The amount associated with the line item, indicating quantity or another relevant measure.

clientDetails (ClientDetailsInput)

Represents context for the buying application, like browser, ip fingerprints etc.

discounts (DiscountAllocationInput)

Promotional discounts allocated to the line item.

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.

product (PurchasedProductViewInput)

Snapshot of purchased product details at the time of Order placement. For items fulfilled by Buy with Prime (i.e., lineItem's deliveryProvider is BUY_WITH_PRIME), product must be defined and provide title, price, identifier, and optionally variant information (if applicable). This allows for Amazon to show a consistent post-order experience.

selectedDeliveryOffer (DeliveryOfferInput required)

Shopper selected delivery offer for this line item.

taxes (TaxInput)

The tax(es) applied on the line item.