curl --location --request PATCH 'https://api.ticaret.pro/crm/tasks/' \
--header 'x-account-id;' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "string",
"description": "string",
"contactId": "string",
"type": "string",
"status": "string",
"priority": "string",
"dueAt": "2019-08-24T14:15:22.123Z",
"scheduledAt": "2019-08-24T14:15:22.123Z",
"durationMinutes": 0,
"location": "string",
"ownerType": "string",
"ownerId": "string",
"ownerUserId": "string",
"ownerGroupId": "string",
"watchers": [
{}
],
"userIds": [
"string"
],
"groupIds": [
"string"
]
}'{
"success": true,
"data": {
"id": "string",
"accountId": "string",
"customerId": "string",
"contactId": "string",
"customer": {},
"contact": {},
"type": "task",
"status": "open",
"priority": "low",
"title": "string",
"description": "string",
"dueAt": "2019-08-24T14:15:22.123Z",
"scheduledAt": "2019-08-24T14:15:22.123Z",
"durationMinutes": 0,
"location": "string",
"ownerType": "user",
"ownerId": "string",
"owner": {},
"watchers": [
{
"id": "string",
"customerId": "string",
"taskId": "string",
"watcherType": "user",
"watcherId": "string",
"user": {},
"group": {}
}
],
"checklist": [
{
"id": "string",
"customerId": "string",
"taskId": "string",
"title": "string",
"isCompleted": true,
"sortOrder": 0,
"ownerType": "user",
"ownerId": "string",
"owner": {},
"completedAt": "2019-08-24T14:15:22.123Z"
}
],
"checklistSummary": {}
}
}