CreateReturnInput

📘

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

Specifies the input fields required to start return negotiation.

Arguments

ArgumentDescription
desiredReturnExecutionState (ReturnExecutionStateInput)

Denotes desired return execution state which will trigger the return fulfillment flow following return creation if set to 'STARTED'. This is an optional field which will leave the return state as is if not provided.

returnLineItems ([ReturnLineItemInput])

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