Skip to main content
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
name
string
required
customerId
string
required

The unique identifier of the customer to update

email
string<email>

Response

200 - application/json

Customer updated successfully

action
string
status
boolean
code
integer
I