LettrLabs API
API ReferenceOrders

Retrieve a list of recipients associated from a specific order

Retrieve a list of recipients associated from a specific order.

GET
/v1/order/{id}/recipients

Retrieve a list of recipients associated from a specific order.

X-API-KEY<token>

In: header

Path Parameters

id*integer

The Id of the order to retrieve the recipient list from.

Query Parameters

query?string

Search filter for recipient data. Filter by recipient name, address or organization.

pageNumber?integer

For pagination: Page number.

pageSize?integer

For pagination: Number of records to retrieve.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/order/0/recipients"
{  "payload": {    "orderId": 0,    "status": "string",    "recipients": [      {        "id": 0,        "address": {          "address1": "string",          "address2": "string",          "city": "string",          "state": "string",          "zipCode": "string",          "zip4": "string",          "zip2": "string",          "country": "string"        },        "personal": {          "firstName": "string",          "lastName": "string",          "toOrganization": "string",          "salutation": "string"        },        "metadata": {          "dpvConfirmationCode": "string",          "custom1": "string",          "custom2": "string",          "custom3": "string",          "custom4": "string",          "custom5": "string",          "custom6": "string",          "image1": "string",          "image2": "string",          "image3": "string",          "image4": "string",          "image5": "string",          "image6": "string",          "salutation": "string",          "returnTitle": "string",          "returnFirstName": "string",          "returnLastName": "string",          "returnOrganization": "string",          "returnAddress1": "string",          "returnAddress2": "string",          "returnCity": "string",          "returnZip": "string",          "returnState": "string",          "email": "string",          "qrUrl": "string",          "text": "string",          "text2": "string",          "radiusPinStreet": "string",          "radiusPinAddress": "string",          "fullAddress": "string",          "deliveryStatus": "string"        }      }    ]  },  "errors": [    "string"  ],  "errorDetails": [    null  ],  "warnings": [    "string"  ],  "hasErrors": true,  "hasWarnings": true}
{  "payload": {    "orderId": 0,    "status": "string",    "recipients": [      {        "id": 0,        "address": {          "address1": "string",          "address2": "string",          "city": "string",          "state": "string",          "zipCode": "string",          "zip4": "string",          "zip2": "string",          "country": "string"        },        "personal": {          "firstName": "string",          "lastName": "string",          "toOrganization": "string",          "salutation": "string"        },        "metadata": {          "dpvConfirmationCode": "string",          "custom1": "string",          "custom2": "string",          "custom3": "string",          "custom4": "string",          "custom5": "string",          "custom6": "string",          "image1": "string",          "image2": "string",          "image3": "string",          "image4": "string",          "image5": "string",          "image6": "string",          "salutation": "string",          "returnTitle": "string",          "returnFirstName": "string",          "returnLastName": "string",          "returnOrganization": "string",          "returnAddress1": "string",          "returnAddress2": "string",          "returnCity": "string",          "returnZip": "string",          "returnState": "string",          "email": "string",          "qrUrl": "string",          "text": "string",          "text2": "string",          "radiusPinStreet": "string",          "radiusPinAddress": "string",          "fullAddress": "string",          "deliveryStatus": "string"        }      }    ]  },  "errors": [    "string"  ],  "errorDetails": [    null  ],  "warnings": [    "string"  ],  "hasErrors": true,  "hasWarnings": true}
{  "payload": {    "orderId": 0,    "status": "string",    "recipients": [      {        "id": 0,        "address": {          "address1": "string",          "address2": "string",          "city": "string",          "state": "string",          "zipCode": "string",          "zip4": "string",          "zip2": "string",          "country": "string"        },        "personal": {          "firstName": "string",          "lastName": "string",          "toOrganization": "string",          "salutation": "string"        },        "metadata": {          "dpvConfirmationCode": "string",          "custom1": "string",          "custom2": "string",          "custom3": "string",          "custom4": "string",          "custom5": "string",          "custom6": "string",          "image1": "string",          "image2": "string",          "image3": "string",          "image4": "string",          "image5": "string",          "image6": "string",          "salutation": "string",          "returnTitle": "string",          "returnFirstName": "string",          "returnLastName": "string",          "returnOrganization": "string",          "returnAddress1": "string",          "returnAddress2": "string",          "returnCity": "string",          "returnZip": "string",          "returnState": "string",          "email": "string",          "qrUrl": "string",          "text": "string",          "text2": "string",          "radiusPinStreet": "string",          "radiusPinAddress": "string",          "fullAddress": "string",          "deliveryStatus": "string"        }      }    ]  },  "errors": [    "string"  ],  "errorDetails": [    null  ],  "warnings": [    "string"  ],  "hasErrors": true,  "hasWarnings": true}
{  "payload": {    "orderId": 0,    "status": "string",    "recipients": [      {        "id": 0,        "address": {          "address1": "string",          "address2": "string",          "city": "string",          "state": "string",          "zipCode": "string",          "zip4": "string",          "zip2": "string",          "country": "string"        },        "personal": {          "firstName": "string",          "lastName": "string",          "toOrganization": "string",          "salutation": "string"        },        "metadata": {          "dpvConfirmationCode": "string",          "custom1": "string",          "custom2": "string",          "custom3": "string",          "custom4": "string",          "custom5": "string",          "custom6": "string",          "image1": "string",          "image2": "string",          "image3": "string",          "image4": "string",          "image5": "string",          "image6": "string",          "salutation": "string",          "returnTitle": "string",          "returnFirstName": "string",          "returnLastName": "string",          "returnOrganization": "string",          "returnAddress1": "string",          "returnAddress2": "string",          "returnCity": "string",          "returnZip": "string",          "returnState": "string",          "email": "string",          "qrUrl": "string",          "text": "string",          "text2": "string",          "radiusPinStreet": "string",          "radiusPinAddress": "string",          "fullAddress": "string",          "deliveryStatus": "string"        }      }    ]  },  "errors": [    "string"  ],  "errorDetails": [    null  ],  "warnings": [    "string"  ],  "hasErrors": true,  "hasWarnings": true}