Update Customer
Update an existing customer.
Endpoint
PUT /api/customers/update/?id={id}Request Body
Include only the fields you want to update.
See Create Customer for field details.
Example
json
{
"firstname": "Jane",
"lastname": "Smith",
"status": "ACTIVE",
"address": {
"address1": "456 New St",
"city": { "name": "New City" }
}
}Response
json
{
"status": "success",
"data": {
"_id": "string",
"firstname": "Jane",
"lastname": "Smith",
...
}
}