ReturnPackageDetailsInput

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

Input for updating the return package details. (Only enabled in Sandbox mode)

Arguments

ArgumentDescription
id (ID required)

Id of the return package to be updated.

reason (ReturnPackageDetailsReasonInput)

Reason associated to the return delivery state. Currently, the field is only needed for failed deliveries.

state (ReturnPackageDetailsStateInput required)

Desired state to update to.