patch https://api.splio.com/data/contacts/
Edit a contact.
Error cases
Contact does not exist (404)
{
"status": 404,
"errors": [
{
"error_key": "id",
"error": "wrong_value",
"error_description": "Record not found for id {ee}."
}
]
}
Update non-editable parameter (400)
{
"status": 400,
"errors": [
{
"error_key": "unique_key",
"error": "wrong_value",
"error_description": "unique key \"email\" can't be updated"
}
]
}
Contact validation KO (400)
See failure cases for Create a contact ⇒ they will result in a 400 here