- Get started
- Workspace
- Task Manager
- Project
- Board
- BoardColumn
- Task
- Custom Fields
- CRM
- Funnels
- Funnel Statuses
- Deals
- Assignees
- Contacts
- Organizations
- Tags
- Tasks
- Attachments
- Get all dealsGET
- Create a dealPOST
- Get a dealGET
- Update a dealPUT
- Update a deal fieldsPATCH
- Move a dealPOST
- Delete a dealDELETE
- Update the deal funnelPUT
- Update the deal funnel statusPUT
- Organizations
- Contacts
- Currencies
- User
- Attachments
Update a deal fields
PATCH
https://api.weeek.net/public/v1/crm/deals/{id}
CRM.Deal
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
title
string | null
optional
<= 255 characters
amount
number <double> | null
optional
winStatus
enum<string> | enum<null>
optional
Allowed values:
wonlostarchived
description
string | null
optional
assignees
array[string <uuid>]
optional
organizations
array[string <uuid>]
optional
contacts
array[string <uuid>]
optional
tags
array[integer]
optional
customFields
object (Custom field values)
optional
"customFields" : {
"<text_custom_field_id>": "Text value",
"<boolean_custom_field_id>": true,
"<datetime_custom_field_id>": "<ISO 8601 datetime string>",
"<select_custom_field_id>": "<custom_field_option_id>"
"<multiselect_custom_field_id>": ["<custom_field_option_id>"],
"<member_custom_field_id>": ["<user_id>"],
"<contact_custom_field_id>": "<contact_id>",
"<link_custom_field_id>": "https://example.com",
"<approval_custom_field_id>": ["<user_id>"]
}
Example
Responses
🟢200Success
application/json
Body
success
boolean
optional
Example
{
"success": true
}
Modified at 2024-01-23 10:07:01