- Get started
- Workspace
- Task Manager
- Project
- Board
- BoardColumn
- Task
- Custom Fields
- CRM
- Funnels
- Funnel Statuses
- Deals
- Organizations
- Addresses
- Emails
- Phones
- Contacts
- Tags
- Get all organizationsGET
- Create an organizationPOST
- Get an organizationGET
- Update an organizationPUT
- Delete an organizationDELETE
- Contacts
- Currencies
- User
- Attachments
Update an organization
PUT
https://api.weeek.net/public/v1/crm/organizations/{id}
CRM.Organization
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
name
string
optional
<= 255 characters
addresses
array[string]
optional
emails
array[string <email>]
optional
phones
array[string]
optional
responsibles
array[string <uuid>]
optional
Example
Responses
🟢200Success
application/json
Body
success
boolean
optional
organization
object (Organization)
optional
id
string <uuid>
read-onlyoptional
creatorId
string <uuid>
read-onlyoptional
name
string
optional
responsibleId
string <uuid> | null
optional
addresses
array[object (OrganizationAddress) {2}]
optional
emails
array[object (OrganizationEmail) {2}]
optional
phones
array[object (OrganizationPhone) {2}]
optional
contacts
array[string <uuid>]
optional
tags
array[integer]
optional
createdAt
string <date-time>
read-onlyoptional
updatedAt
string <date-time>
read-onlyoptional
Example
{
"success": true,
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"creatorId": "688ebf54-d343-4104-8711-82c2feac534a",
"name": "string",
"responsibleId": "9ceebaf9-cb5e-4478-900a-86f844238bb2",
"addresses": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"address": "string"
}
],
"emails": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"email": "user@example.com"
}
],
"phones": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"phone": "string"
}
],
"contacts": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"tags": [
0
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}
Modified at 2024-01-23 10:07:01