Contacts
Update contact
Changed onThe method is used to update the contact's data, except for the contact ID field.<br>In case of updating a deleted contact, this contact is restored.
put/api/v1/contact/{id}
Request
- Base URLhttps://api.reteno.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Contact ID
Request body
Example request
{
"firstName": "John",
"lastName": "Smith",
"channels": [
{
"device": {
"appId": "83b77a49-fc28-409b-aeaa-68c9d544ab9d",
"deviceModel": "iPhone 16 Pro",
"os": "iOS",
"locale": "en_UK",
"clientVersion": "1.6.8",
"appVersion": "1.23.45"
}
}
],
"address": {
"region": "Occitanie",
"town": "Toulouse",
"address": "Rue Imaginaire, 456",
"postcode": "31000",
"countryCode": "FR"
},
"fields": [
{
"id": 79814,
"value": "textfield"
}
],
"id": 1234567890
}Response
string required
Changes
- breaking
removed the enum value
appinboxof the request property// - breaking
removed the enum value
inapptelegrambotof the request property// - breaking
removed the enum value
viberof the request property// - breaking
removed the enum value
widgetof the request property// - warning
removed the request property
//
- breaking