Funnels

Update Funnel

PATCH
/v0/projects/{idOrSlug}/funnels/{funnelId}

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string
funnelId*string

Request Body

application/json
  1. body
name?string|null
description?string|null|null
steps?array<>|null
conversionWindowSeconds?number||null
strictOrder?boolean|null
timeRangeSeconds?number||null

Response Body

FunnelRecord

application/json
  1. response
id*string
projectId*string
name*string
description*string|null
steps*array<>|null
unsupportedSteps?boolean|null
conversionWindowSeconds*number|
strictOrder*boolean
timeRangeSeconds*number|
createdAt*string
updatedAt*string
curl -X PATCH "https://example.com/v0/projects/string/funnels/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "projectId": "string",  "name": "string",  "description": "string",  "steps": [    {      "type": "event",      "id": "string",      "name": "string",      "match": "all",      "filters": [        {          "field": "string",          "operator": "equals",          "value": "string"        }      ]    }  ],  "unsupportedSteps": true,  "conversionWindowSeconds": 0,  "strictOrder": true,  "timeRangeSeconds": 0,  "createdAt": "string",  "updatedAt": "string"}