ReturnDeliveryDetails

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 delivery details for returned items.

Fields

FieldDescription
id (ID required)

Identifier for the return delivery

reason (String)

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

The value is constrained to one of the following

valuedescription
CARRRIER_REJECTEDReturn delivery is rejected by Carrier
SHIPMENT_LOSTReturn delivery shipment is lost
PICKUP_MISSEDReturn Package pickup unsuccessful
UNDELIVERABLEFailure during Delivery
EXCEPTIONSome unknown error has been encountered
returnDeliveryFor (ReturnFor)

Captures the association to entities against which this return delivery is created.

state (String required)

Current status of deliveryInformation.

The value is constrained to one of the following

valuedescription
CREATEDPackage Delivery artifacts like Return Label are created and Delivery is currently pending.
DROPPED_OFFPackage Delivery package dropped off by customer at drop off location
IN_TRANSITPackage Delivery is currently in progress and tracking details have been added to the delivery.
DELIVEREDPackage Delivery is successfully completed.
FAILEDPackage Delivery has failed for one of the reasons mentioned in the reason.
trackingDetails (TrackingDetails)

Tracking information associated with the delivery, such as the tracking ID and carrier.