cURL
curl --request PUT \ --url https://api.truust.io/2.0/customers/{uuid} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Name Test", "email": "john@example.com" } '
{ "id": 123, "self": "/2.0/customers/abc123", "uuid": "<string>", "type": "<string>", "name": "<string>", "first_name": "<string>", "last_name": "<string>", "email": "jsmith@example.com", "prefix": "+34", "phone": "<string>", "tag": "<string>", "metadata": {}, "created_at": "2023-11-07T05:31:56Z", "connections": {} }
Use your account's Secret Key as the Bearer token.
Customer UUID.
255
"John Doe"
"John"
"Doe"
Phone country prefix (e.g. +34).
+34
"+34"
"612345678"
100
Updated customer
"/2.0/customers/abc123"
Hypermedia links to related resources.
Show child attributes