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:

Retrieve recipient details for attended deliveries

Call the getFulfillmentOrder operation. In the response:

  1. Locate the shipment in the fulfillmentShipments array.
  2. Locate the package in the fulfillmentShipmentPackage array.
  3. Check the deliveryInformation.dropOffLocation object. This object contains two properties: type (string) and attributes (object). The type indicates where the package was delivered, and the attributes property provides recipient details based on delivery type.

Drop point types and associated fields

  • FALLBACK_NEIGHBOR_DELIVERY

    • neighborName: Name of the neighbor who received the package
    • neighborDoorNumber: Door or unit number of the neighbor
  • RECEPTIONIST

    • recipientName: 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" 
                } 
              } 
            } 
          } 
        ] 
      } 
    ] 
  } 
}