Update an account
Changed onThis API let’s you to update an account’s information using customer_id and account_id.
Request
- Base URLhttps://api.togai.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
account_id corresponding to an account
Request body
Example request
{
"name": "ACME Enterprise",
"invoiceCurrency": "USD",
"primaryEmail": "admin@example.com"
}Response
Response for Create and Get account requests
Example response
{
"invoiceCurrency": "USD",
"primaryEmail": "admin@example.com",
"status": "ACTIVE"
}Changes
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info
- breaking
the response property
became optional for the status - breaking
the
response property's maxLength was increased from255to320for the response status - warning
added the new
DRAFTenum value to theresponse property for the response status - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
the
request property's maxLength was increased from255to320 - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking