cURL
curl --request POST \ --url https://api.keymint.dev/customer \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "email": "jsmith@example.com" }'
{ "action": "createCustomer", "status": true, "message": "Customer created successfully", "data": { "id": "078116d0069c32407b4f63", "name": "Test Customer", "email": "test@example.com" }, "code": 0 }
Creates a new customer with the provided name and email address. Returns 409 if a customer with the same email already exists.
Access token for API authentication
Customer created successfully
The response is of type object.
object