- Get started
- Workspace
- Task Manager
- Project
- Board
- BoardColumn
- Task
- Custom Fields
- CRM
- Funnels
- Funnel Statuses
- Deals
- Organizations
- Contacts
- Currencies
- User
- Attachments
Update a contact
PUT
https://api.weeek.net/public/v1/crm/contacts/{id}
CRM.Contact
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
id
string
required
Body Params application/json
lastName
string | null
optional
<= 255 characters
firstName
string
required
<= 255 characters
middleName
string | null
optional
<= 255 characters
organizations
array[string <uuid>] | null
optional
emails
array[string <email>] | null
optional
phones
array[string] | null
optional
tags
array[integer] | null
optional
Example
Responses
🟢200Success
application/json
Body
success
boolean
optional
contact
object (Contact)
optional
id
string <uuid>
read-onlyoptional
creatorId
string <uuid>
read-onlyoptional
lastName
string | null
optional
<= 255 characters
firstName
string
optional
<= 255 characters
middleName
string | null
optional
<= 255 characters
organizations
array[string <uuid>]
optional
emails
array[object (ContactEmail) {2}]
optional
phones
array[object (ContactPhone) {2}]
optional
tags
array[integer]
optional
createdAt
string <date-time>
optional
updatedAt
string <date-time>
read-onlyoptional
Example
{
"success": true,
"contact": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"creatorId": "688ebf54-d343-4104-8711-82c2feac534a",
"lastName": "string",
"firstName": "string",
"middleName": "string",
"organizations": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"emails": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"email": "user@example.com"
}
],
"phones": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"phone": "string"
}
],
"tags": [
0
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}
Modified at 2024-01-23 10:07:01