Skip to main content
POST
/
tasks
/
updateCallOutcome
Update the outcome of an event call
curl --request POST \
  --url https://api-dev.iclosed.io/tasks/updateCallOutcome \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "eventCallId": 123,
  "outcome": "WON",
  "note": "<string>",
  "objection": "<string>",
  "noSaleReason": "FOLLOW_UP_SCHEDULE",
  "productId": 123,
  "dealValue": 123,
  "dealDate": "2023-11-07T05:31:56Z",
  "transactionType": "<string>"
}'
{
  "data": {
    "id": 123,
    "outcome": "<string>",
    "note": "<string>",
    "objection": "<string>",
    "noSaleReason": "<string>",
    "productId": 123,
    "dealValue": 123,
    "dealDate": "2023-11-07T05:31:56Z",
    "transactionType": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key required in 'Authorization' header. Format: iclosed-<token>

Body

application/json
eventCallId
integer
required

ID of the event call to update

outcome
enum<string>
required

Outcome of the event call

Available options:
WON,
NO_SALE,
QUALIFIED,
UNQUALIFIED,
PENDING,
APPROVED,
REJECTED
note
string | null

Additional notes about the call outcome

objection
string | null

Objection raised during the call

noSaleReason
enum<string> | null

Reason for no sale if the call didn't result in a sale

Available options:
FOLLOW_UP_SCHEDULE,
UNQUALIFIED,
NO_SHOW,
CONTACT_CANCELLED,
ADMIN_CANCELLED,
NOT_INTERESTED,
BAD_FIT,
OTHER
productId
integer | null

ID of the product discussed in the call

dealValue
number | null

Value of the deal if a sale was made

dealDate
string<date-time> | null

Date when the deal was made

transactionType
string | null

Type of transaction that occurred during the call

Response

Successfully updated call outcome

data
object
I