v1
latestOpenAPI 3.0.32026-07-264469137.7 KBCustomers
Update a customer
Updates a customer. Only the fields you send are changed. Requires the customers:write scope.
patch/v1/customers/{customer_id}
Path parameters
customer_idstring required
Request body
Example request
{
"email": "jane@example.com",
"name": "Jane Doe",
"phone_number": "+2348012345678",
"metadata": {
"plan": "pro"
}
}Response
Customer updated
Example response
{
"customer_id": "cust_1a2b3c4d5e6f",
"email": "jane@example.com",
"name": "Jane Doe",
"phone_number": "+2348012345678",
"metadata": {
"plan": "pro"
},
"created_at": "2026-01-24T12:00:00.000Z",
"updated_at": "2026-01-24T12:00:00.000Z"
}