PUT
/
customer
/
by-id
Update customer
curl --request PUT \
  --url https://api.keymint.dev/customer/by-id \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "email": "jsmith@example.com",
  "customerId": "<string>"
}'
{
  "action": "updateCustomer",
  "status": true,
  "code": 0
}

Authorizations

Authorization
string
header
required

Access token for API authentication

Body

application/json

Response

200 - application/json

Customer updated successfully

The response is of type object.