Untitled
4 years ago in Plain Text
curl -X PATCH \
http://sunbeam.teamwork.localhost/desk/api/v2/customers/271604.json \
-H 'Accept: */*' \
-H 'Authorization: Bearer rupert' \
-H 'Cache-Control: no-cache' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'Host: sunbeam.teamwork.localhost' \
-H 'Postman-Token: bcc36c08-a163-4c2a-af9b-78798b80ea9c,95167597-ef54-4aac-a69d-9a009a5fb506' \
-H 'User-Agent: PostmanRuntime/7.15.0' \
-H 'accept-encoding: gzip, deflate' \
-H 'cache-control: no-cache' \
-H 'content-length: 187' \
-d '{
"email": "jatochnietdan@icloud.com",
"contacts": [
{
"id": 1,
"value": "jatochnietdan@icloud.com"
},
{
"value": "jatochnietdanX@icloud.com",
"type": "email"
}
]
}'