Ventia
Contact
PATCH
/contact/{idcontact}
api-key<token>

In: query

Path Parameters

idcontact*string

Request Body

application/json

firstName*string
lastName*string
emails*array<>
phones*array<>
detail*string
origin*string

Response Body

application/json; charset=utf-8

curl -X PATCH "https://api.getventia.com/api/v1.0/contact/string" \  -H "Content-Type: application/json" \  -d '{    "firstName": "Agustin",    "lastName": "Suarez",    "emails": [      "agustin@example.com"    ],    "phones": [      "+59897444666"    ],    "detail": "",    "origin": "store"  }'
{
  "_id": "621e8a5463c02a8bd532ff8c",
  "company": "609b3cff61ffd5f1e446d234",
  "firstName": "Agustin",
  "lastName": "Perez",
  "origin": "local",
  "phones": [
    "+59897444666"
  ],
  "archivingReason": "",
  "status": "new",
  "emails": [
    "agustin@example.com"
  ],
  "detail": "",
  "createdAt": "2022-03-01T21:04:20.617Z",
  "updatedAt": "2023-05-23T20:20:25.420Z",
  "__v": 1,
  "lastInteraction": "2023-05-23T20:20:25.418Z",
  "archivingReasonText": "",
  "assignedGroups": [],
  "attention": "not_actions",
  "channels": [],
  "databaseUploded": false,
  "reminder": "2023-05-23T20:25:02.561Z"
}