curl --location --request PUT '/deals/' \
--header 'Authorization: Bearer JWT' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Marketing analysis",
"summary": "Marketing analysis",
"contacts": {
"contactId": "8f0daf26-c9bb-40fa-b436-ffe3b89528eb",
"clientContactId": "121256564",
"email": "test123@incomaker.com",
"phone": "+420 608123456"
},
"userId": 0,
"stateId": 0,
"value": 0,
"progress": 0,
"tags": [
"Test"
],
"fields": [
{
"name": "importance",
"value": "high"
}
],
"event": "my_custom_event_name"
}'