Contacts
Update contact
The 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 URL: https://yespo.io (the document declares no server; this is the origin it was published from)
- URL: https://yespo.io/api/v1/contact/{id}
- Auth: HTTP basic
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\",\"Samsung Galaxy S24 Ultra\"]",
"os": "[\"iOS\",\"Android\"]",
"locale": "[\"en_UK\",\"ua_UA\"]",
"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
}Changes
No recorded changes to this operation across all 1 revision of this API.