Recipients
The people a parcel goes to, with the phone, shared place and address the driver needs.
Operations
GET/api/v1/integration/recipientsAPI key
Lists the people the organisation delivers to, newest first, with optional search and paging.
Required scopes: recipients:read
Query parameters
| Field | Type and limits | Required |
|---|---|---|
q | string, 1 to 80 characters | No |
limit | integer, 1 to 100 | No |
offset | integer, 0 to 9007199254740991 | No |
Responses
200Success401The API key is missing, unknown, revoked, or expired.403The key lacks the scope, the source is not allowed, or the plan has no API access.422A value failed validation; the envelope lists the fields.429The plan rate limit was exceeded. Retry after the window.defaultAny other failure
POST/api/v1/integration/recipientsAPI key
Creates a recipient with a name and phone, and optionally a shared place, address or landmark.
Required scopes: recipients:write
Request body
| Field | Type and limits | Required |
|---|---|---|
name | string, 1 to 120 characters | Yes |
phone | string, 5 to 30 characters | Yes |
place_id | string (uuid) | No |
address_line | string, 1 to 240 characters | No |
landmark | string, 1 to 120 characters | No |
Responses
201Success400The request body could not be read.401The API key is missing, unknown, revoked, or expired.403The key lacks the scope, the source is not allowed, or the plan has no API access.422A value failed validation; the envelope lists the fields.429The plan rate limit was exceeded. Retry after the window.defaultAny other failure
GET/api/v1/integration/recipients/{id}API key
Returns one recipient in the organisation by id.
Required scopes: recipients:read
Path parameters
| Field | Type and limits | Required |
|---|---|---|
id | string (uuid) | Yes |
Responses
200Success401The API key is missing, unknown, revoked, or expired.403The key lacks the scope, the source is not allowed, or the plan has no API access.404That delivery does not exist in this organisation.422A value failed validation; the envelope lists the fields.429The plan rate limit was exceeded. Retry after the window.defaultAny other failure
PATCH/api/v1/integration/recipients/{id}API key
Corrects a recipient's name, phone, place or address.
Required scopes: recipients:write
Path parameters
| Field | Type and limits | Required |
|---|---|---|
id | string (uuid) | Yes |
Request body
| Field | Type and limits | Required |
|---|---|---|
name | string, 1 to 120 characters | No |
phone | string, 5 to 30 characters | No |
place_id | string (uuid) or null | No |
address_line | string, 1 to 240 characters or null | No |
landmark | string, 1 to 120 characters or null | No |
Responses
200Success400The request body could not be read.401The API key is missing, unknown, revoked, or expired.403The key lacks the scope, the source is not allowed, or the plan has no API access.404That delivery does not exist in this organisation.422A value failed validation; the envelope lists the fields.429The plan rate limit was exceeded. Retry after the window.defaultAny other failure