Skip to content

Editar embudo

Request

Cambia el nombre del embudo. Mismas reglas que al crear: obligatorio, hasta 40 caracteres y único por retailer.

Security
api-key
Path
idstringrequired

ID del embudo

Example:1c4f2a9b7e3d5a1-8b2e-4c6d-9f0a-3e5b7d9c1a2f
Bodyapplication/jsonrequired
funnelobjectrequired
curl -i -X PUT \
  https://app.mercately.com/retailers/api/v1/funnels/1c4f2a9b7e3d5a1-8b2e-4c6d-9f0a-3e5b7d9c1a2f \
  -H 'Content-Type: application/json' \
  -H 'api-key: YOUR_API_KEY_HERE' \
  -d '{
    "funnel": {
      "name": "Embudo API editado"
    }
  }'

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 editado", "stages": [] }