cURL
curl --request PUT \ --url https://api.truust.io/2.0/customers/{uuid}/addresses/{address_uuid} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "metadata": {} }'
{ "id": 123, "self": "<string>", "uuid": "<string>", "name": "<string>", "email": "<string>", "prefix": "<string>", "phone": "<string>", "line1": "<string>", "line2": "<string>", "city": "<string>", "state": "<string>", "country": "<string>", "zip_code": "<string>", "tag": "<string>", "metadata": {}, "created_at": "2023-11-07T05:31:56Z", "connections": {} }
Only the metadata field can be updated on an existing address.
metadata
Use your account's Secret Key as the Bearer token.
Customer UUID.
Updated address
Hypermedia links to related resources.
Show child attributes