curl -X PATCH "https://server.smartlead.ai/api/v1/master-inbox/update-revenue?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"email_lead_map_id": 2433664091, "revenue": 50000}'
{
"success": true,
"message": "Revenue updated successfully",
"data": {
"email_lead_map_id": 2433664091,
"revenue": 50000,
"updated_at": "2025-01-20T15:30:00Z"
}
}
Update the revenue value associated with a lead for ROI tracking
curl -X PATCH "https://server.smartlead.ai/api/v1/master-inbox/update-revenue?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"email_lead_map_id": 2433664091, "revenue": 50000}'
{
"success": true,
"message": "Revenue updated successfully",
"data": {
"email_lead_map_id": 2433664091,
"revenue": 50000,
"updated_at": "2025-01-20T15:30:00Z"
}
}
curl -X PATCH "https://server.smartlead.ai/api/v1/master-inbox/update-revenue?api_key=YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"email_lead_map_id": 2433664091, "revenue": 50000}'
{
"success": true,
"message": "Revenue updated successfully",
"data": {
"email_lead_map_id": 2433664091,
"revenue": 50000,
"updated_at": "2025-01-20T15:30:00Z"
}
}