ReturnDetailsInput

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

Details about a return created for an order

Arguments

ArgumentDescription
aliases ([AliasInput])

A list of aliases that we want to associate with this return. This could include unique identifier of the return in merchant's store or display Id in the return of the merchant store.

The total number of aliases associated with a return are limited to 2.

The size should be greater than or equal to 0 and less than or equal to 2.

returnIdentifier (ReturnIdentifierInput)

Represents how a return is identified

returnLineItems ([ReturnLineItemInput])

Return details are provided through return line items which have reference to order line items.

state (ReturnStateInput)

Return state to be synced