Update a customer
POST
https://api.tamio.com/v2/customers/update/{uuid}
Updates an existing customer's information. The customer name is always required. Email can be changed as long as it is not already in use by another customer within the same account.
Path Parameters
uuid
string*
Body Parameters
name
string*
Customer's first name
last_name
string
Customer's last name
email
string
Customer's email address (must be unique within your account)
country
string
Two-letter ISO country code
locale
string
Preferred language/locale code
timezone_offset
string
Timezone offset from UTC
phone
string
Customer's phone number
teammate_id
string
UUID of the teammate to assign, or null to unassign
Example
{
"name": "John Updated",
"last_name": "Doe",
"email": "[email protected]",
"country": "us"
}
Responses
200
Customer updated successfully
Customer updated successfully
status
integer
customer
Customer
400
Validation or business-logic error.
Validation or business-logic error.
| Code | Description |
|---|---|
1002 | Customer not found |
10082 | Email is already used by another customer in this account |
status
integer
error
string
error_code
integer
401
Unauthorized – invalid or missing Bearer token
Unauthorized – invalid or missing Bearer token
status
integer
error
string