Update Address
Update information for an existing address.
/addresses/:address_id
PUT
https://api.terminal.africa/v1/addresses/:address_id
This endpoint allows you to update an existing address.
Path Parameters
Name | Type | Description |
---|---|---|
address_id* | String | Unique identifier for address |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Set value to |
Content-Type | String | Set value to |
Request Body
Name | Type | Description |
---|---|---|
city* | String | Address city. |
country* | String | ISO 2 country code for address. |
String | Email of person at address. | |
first_name | String | First name of person at address. Required for arranging pickup / delivery. |
is_residential | Boolean | Indicates if address is a residential address or not. Defaults to true. |
last_name | String | Last name of person at address. Required for arranging pickup / delivery. |
line1 | String | Street address. Required for arranging pickup / delivery. |
line2 | String | Second line of street address |
metadata | Object | Additional information for an address. |
name | String | Full name of person at address |
phone | String | Phone number of person at address. Must match country provided in address. Required for arranging pickup / delivery. |
state | String | Address state |
zip | String | Zip / Postal code. Required for arranging pickup / delivery. |
Last updated