Customers
Update a customer
Changed onThis API let’s you to update a customer’s information using customer_id.
patch/customers/{customer_id}
Request
- Base URLhttps://api.togai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
customer_idstring required
Example:01BX5ZZKBKACTAV9WEVGEMMVRZ
Request body
Example request
{
"name": "ACME Enterprise",
"primaryEmail": "admin@example.com"
}Response
Response for Get customer requests
Example response
{
"billingAddress": "201 Boulevard, WA 53123",
"status": "ACTIVE"
}Changes
- breaking
the
response property's maxLength was increased from255to320for the response status - info
the
request property's maxLength was increased from255to320 - info
added the required property
to the response with the status
- breaking
- info
added the new optional request property
/ - info
added the optional property
/to the response with the status
- info