Update a Contact

put
Update a Contact

https://api.imber.live/contact/:ID
This endpoint allows you update a single contact
Request
Response
Request
Path Parameters
id
optional
string
ID of the Contact
Headers
Authentication
required
string
Authentication token to track down who is emptying our stocks.
Response
200: OK
Contact successfully updated.
{
"success": true,
"data": {
"_id": "5fbcd6f50fdf067108d9c018",
"pages": {
"last": "https://heellp.imber.ir/post/5fbcd6b82c6133c8a084b1b3/",
"referrer": "https://heellp.imber.ir/"
},
"person": {
"name": "imber-CM7043"
},
"device": {
"OS": "Mac",
"browser": "Chrome",
"browserVer": "86.0.4240.198",
"screenSize": "",
"isMobile": false
},
"geoLocation": {
"city": "Şafāshahr",
"region": "Fars",
"country": "Iran",
"currency": "IRR",
"languages": "fa-IR,ku",
"countryCode": "IR",
"countryCapital": "Tehran",
"countryCallingCode": "+98"
},
"rooms": [],
"tags": [],
"segments": [],
"isBlocked": false,
"status": false,
"type": 0,
"workSpace": "5fbb7399d0222a70a8fece80",
"organization": "5f00a44d8e844b5a746f90b1",
"note": [],
"createdAt": "2020-11-24T09:48:37.410Z",
"updatedAt": "2020-11-24T09:48:37.410Z",
"ip": "46.245.94.73"
}
}