v1
latestOpenAPI 3.0.12026-07-24501176.6 MBUpdate Lead Status
Updates the status and substatus of an existing lead. You can have status as OPEN (for new lead), WON (for a successful purchase lead), LOST (for unreverted lead), ON_HOLD, DELETED.
put/leads/{leadId}/status
Request body
Response
200
Example response
{
"id": 2,
"userId": 368754334,
"type": "SKU",
"leadFor": "item001",
"status": "ON_HOLD",
"nextFollowUp": "2018-10-05T08:00:00+05:30",
"createdOn": "2018-10-04T13:30:00+05:30",
"createdBy": 28812689,
"lastUpdatedOn": "2019-04-15T14:58:39+05:30",
"lastUpdatedBy": 15002926,
"followUpDetails": [
{
"id": 3,
"userId": 368754334,
"leadId": 2,
"notes": "notes 1",
"createdBy": 15002926,
"createdOn": "2018-12-06T17:36:28+05:30",
"followedUpBy": 28812689,
"followedUpOn": "2018-10-04T12:45:00+05:30",
"scheduledFollowUp": "2018-10-04T12:30:00+05:30"
}
],
"statusLogDetails": [
{
"id": 4,
"userId": 368754334,
"leadId": 2,
"status": "OPEN",
"createdBy": 15002926,
"createdOn": "2018-12-06T17:36:28+05:30",
"reasonId": 1,
"reason": "Item not available in store"
}
],
"orgSourceId": -1,
"extendedFields": {
"trial_status": "Not Done"
},
"subStatus": "YetToDecide"
}