Skip to content

Crear embudo

Request

Crea un embudo sin etapas. El nombre es obligatorio, de hasta 40 caracteres y único por retailer (sin distinguir mayúsculas).

Security
api-key
Bodyapplication/jsonrequired
funnelobjectrequired
curl -i -X POST \
  https://app.mercately.com/retailers/api/v1/funnels \
  -H 'Content-Type: application/json' \
  -H 'api-key: YOUR_API_KEY_HERE' \
  -d '{
    "funnel": {
      "name": "Embudo API prueba"
    }
  }'

Responses

OK

Bodyapplication/json
idstring
Example:"1c4f2a9b7e3d5a1-8b2e-4c6d-9f0a-3e5b7d9c1a2f"
namestring, <= 40 characters
Example:"Ventas B2B"
stagesArray of objects(funnel_stage)
Response
{ "id": "1c4f2a9b7e3d5a1-8b2e-4c6d-9f0a-3e5b7d9c1a2f", "name": "Embudo API prueba", "stages": [] }