Actualiza una negociación
Security
api-key
- Production serverhttps://app.mercately.com/retailers/api/v1/deals/{id}
- Shops API Production serverhttps://mercately.shop/retailers/api/v1/deals/{id}
curl -i -X PUT \
https://app.mercately.com/retailers/api/v1/deals/9c6d04017 \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"funnel_name": "Negociaciones",
"stage": "Calificado",
"deal": {
"amount": "150000",
"name": "Ricardo - pavo",
"customer_id": "91989a87",
"lead_status": "cold",
"opening_date": "2024-05-16",
"expected_close_date": "2024-05-23",
"funnel_name": "Negociaciones",
"stage": "Calificado"
}
}'Response
{ "message": "deal was updated successfully", "deal": { "id": "9fb882221", "name": "Neptu", "amount": "150000.0", "currency": "$", "funnel_name": "Negociaciones", "stage": "Calificado!", "agent": { … }, "customer": { … }, "channel": "string" } }