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