patch https://{subdomain}.kommo.com/api/v4/tasks/
To edit a singular task, you can add the task ID into the method URL. The task object is passed.
Limitations
The method is available in correspondence to the user rights.
Data type header when the request is successful
Content-Type: application/hal+json
Data type header in case of an error
Content-Type: application/problem+json
Response parameters
Only properties “id”
and “updated_at”
are returned.
Complete a task
To complete a task, properties “result”
and “is_completed”
should be passed.
An example of the request
In the following example we will complete a task using the /api/v4/tasks/4747929
endpoint.
{
"is_completed": true,
"result": {
"text": "Reached the client"
}
}