v1
latestOpenAPI 3.0.02026-07-263365201.7 KBCustomers
Update a customer
Update the editable fields of a customer. Only first_name and last_name may be changed; both are optional so a request may update just one. Returns the updated customer.
patch/customers/{id}
Path parameters
idstring required
Example:cus_mi4f0oda6x9m7gcsvjk0ole1
Request body
Example request
{
"first_name": "John",
"last_name": "Doe"
}Response
The updated customer
Example response
{
"id": "cus_mi4f0oda6x9m7gcsvjk0ole1",
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@example.com",
"vat_id": "DE123456789"
}