UpdateLineItemInput
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
Represents a single line item in an order only for UpdateOrder API
Arguments
Argument | Description |
---|---|
aliases ([AliasInput]) | A list of aliases that we want to associate with this lineItem. This could include unique identifier of the lineItem in merchant's store or display Id in the lineItem of the merchant's store. These aliases will be appended to any existing lineItem aliases provided during order creation. The total number of aliases associated with the lineItem are limited to 5. The size should be greater than or equal to 0 and less than or equal to 5. |
discounts (DiscountAllocationInput) | Promotional discounts allocated to the line item. |
id (LineItemIdentifierInput required) | Represents how line item is identified. Currently supports alias or lineItemId |
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. |
taxes (TaxInput) | The tax(es) applied on the line item. |
Updated 2 days ago