Agrega una etapa al final del embudo. El nombre es obligatorio y único dentro del embudo. type puede ser step, won o lost; si no se envía, queda step. No acepta razones de ganado o perdido ni posición.
Security
api-key
- Production serverhttps://app.mercately.com/retailers/api/v1/funnels/{funnel_id}/stages
- Shops API Production serverhttps://mercately.shop/retailers/api/v1/funnels/{funnel_id}/stages
curl -i -X POST \
https://app.mercately.com/retailers/api/v1/funnels/1c4f2a9b7e3d5a1-8b2e-4c6d-9f0a-3e5b7d9c1a2f/stages \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"stage": {
"name": "Calificado",
"probability": 20,
"stagnation_time": 5,
"type": "step"
}
}'OK
Response
{ "id": "19d8e7c6b5a4f3e-2d1c-4b0a-9e8f-7a6b5c4d3e2f", "name": "Calificado", "probability": 20, "stagnation_time": 5, "type": "step" }