---
title: "PATCH /api/v1/affiliate/funnels/{id}"
method: PATCH
path: "/api/v1/affiliate/funnels/{id}"
tags: ["Affiliation"]
---

# PATCH /api/v1/affiliate/funnels/{id}

`PATCH /api/v1/affiliate/funnels/{id}`

## Path parameters

- `id` integer, required

## Cookies

- `billing_session` string

## Request body

- object
  - `marketingDomainId` integer
  - `name` string
  - `offerTypeId` integer
  - `postbackUrl` union
    - string, uri
    - string
  - `landingDesignId` integer
  - `routes` object[]
    - `countryId` integer, nullable
    - `offerId` integer, required
    - `weight` integer
  - `status` 'active' | 'disabled'

## Response `200`

The Funnel was updated.

- object
  - `id` integer, required
  - `status` 'active' | 'disabled', required

## Other responses

- `400` — The Funnel request is invalid.
- `401` — No valid Affiliate session exists.
- `403` — The request did not originate from this portal.
- `404` — The Funnel was not found.
- `409` — The domain, Offer, Offer Type, or Landing Design is not usable.

---

[API](https://skmtc.dev/expertschat/apis/billing-core-api.md) · [All operations](https://skmtc.dev/expertschat/apis/billing-core-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/expertschat/billing-core-api/revisions/c6d0e986ce32/schema)
