v1
latestOpenAPI 3.0.02026-08-04109109370.6 KBLeads
Update the status of a lead.
Update the status of a lead, for example, close a lead as won or lost. Also allows for setting the outcome of the lead, and competitor and product maps.
post/leads/{id}/status
Path parameters
idstring required
ID of the lead to update the status of
Request body
Example request
{
"outcomeId": "1-outcomes",
"competitorMaps": [
"1-competitorMaps"
],
"productMaps": [
{
"id": "3-contacts",
"price": {
"formatted": "$100.00",
"amount": "100.00",
"currency": "USD"
},
"productType": "product",
"links": {
"product": "1-products"
}
}
]
}Response
Lead
Example response
{
"htmlUrl": "https://app.nutshell.com/lead/1006",
"htmlUrlPath": "/lead/1006",
"avatarUrl": "https://app.nutshell.com/avatars/contacts/1006/{path}",
"initials": "AF",
"id": "3-contacts",
"name": "John Doe",
"value": {
"formatted": "$100.00",
"amount": "100.00",
"currency": "USD"
},
"description": "This is a description",
"createdTime": {
"absoluteLocalizedString": "May 28, 2024",
"value": "May 28, 2024"
},
"ownerType": "users",
"status": "open",
"confidence": 25
}