---
title: "PATCH /api/v1/admin/affiliation/advertisers/{id}"
method: PATCH
path: "/api/v1/admin/affiliation/advertisers/{id}"
tags: ["Affiliation administration"]
---

# PATCH /api/v1/admin/affiliation/advertisers/{id}

`PATCH /api/v1/admin/affiliation/advertisers/{id}`

## Path parameters

- `id` integer, required

## Cookies

- `billing_session` string

## Request body

- object
  - `name` string
  - `status` 'active' | 'disabled'
  - `webhookSecret` string

## Response `200`

The resource was updated.

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

## Other responses

- `400` — The request is invalid.
- `401` — No valid Admin session exists.
- `403` — The request did not originate from this portal.
- `404` — The resource was not found.
- `409` — The requested relation conflicts with active affiliation data.

---

[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)
