Get recipient details for attended deliveries
Learn how to get recipient details for attended deliveries where someone other than the buyer received the package.
Learn how to get the recipient details for packages delivered to specific individuals other than the intended recipient.
Prerequisites
To complete this tutorial, you need:
- Authorization from the selling partner for whom you are making calls. For more information, refer to Authorizing Selling Partner API Applications.
- The Amazon Fulfillment role assigned to your developer profile.
- The Amazon Fulfillment role selected in the App registration page for your application.
Retrieve recipient details for attended deliveries
Call the getFulfillmentOrder operation. In the response:
- Locate the shipment in the
fulfillmentShipmentsarray. - Locate the package in the
fulfillmentShipmentPackagearray. - Check the
deliveryInformation.dropOffLocationobject. This object contains two properties:type(string) andattributes(object). Thetypeindicates where the package was delivered, and theattributesproperty provides recipient details based on delivery type.
Drop point types and associated fields
-
FALLBACK_NEIGHBOR_DELIVERYneighborName: Name of the neighbor who received the packageneighborDoorNumber: Door or unit number of the neighbor
-
RECEPTIONISTrecipientName: Name of the receptionist who received the package
Sample response
{
"payload": {
"fulfillmentShipments": [
{
"amazonShipmentId": "DZfP8NjRw",
"fulfillmentShipmentPackage": [
{
"packageNumber": 1,
"carrierCode": "AMZL_US",
"trackingNumber": "TBA123456789",
"deliveryInformation": {
"dropOffLocation": {
"type": "NEIGHBOR",
"attributes": {
"neighborName": "John Smith",
"neighborDoorNumber": "Apt 205"
}
}
}
}
]
}
]
}
}
Updated about 4 hours ago
