Customers
Create
Create a new customer
POST https://api.deskero.com/customer/insert
Headers
Header | Value |
---|---|
Authorization | Bearer {{bearer}} |
Content-Type | application/json |
clientId | {{clientId}} |
Example request
$ curl https://api.deskero.com/customer/insert \
-v \
-H "Content-type: application/json" \
-H "Authorization: Bearer 58cfg61g-1585-5c72-g35f-7fe76893ed2f" \
-H "clientId: 51f01687e4b094c81d7b8bcdellef" \
-X POST \
-d '{ "name": "Customer Name", "email": "customer@email.com" }'
Example response
Created customer id
{
"id": "527a0f95e4b0d3bd74d43929"
}