---
title: "Platform owner: change a partner (details, fee, months, status active, paused or ended); send if_version. The code cannot change"
method: PATCH
path: "/api/v1/platform/partners/{id}"
---

# Platform owner: change a partner (details, fee, months, status active, paused or ended); send if_version. The code cannot change

`PATCH /api/v1/platform/partners/{id}`

## Request

- Base URL: `http://127.0.0.1:4310`
- URL: `http://127.0.0.1:4310/api/v1/platform/partners/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `sfb_session`

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `business` string, nullable
  - `email` string, email, nullable
  - `phone` string, nullable
  - `percent` number: Share of subscription fees, default 20
  - `months` integer: Months from the first payment the fee runs for, default 12
  - `notes` string, nullable
  - `status` 'active' | 'paused' | 'ended'
  - `if_version` integer, required

## Response `200`

OK

- object

## Other responses

- `400`: Validation error
- `401`: Unauthenticated
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict or invalid state

---

[API](https://skmtc.dev/scalingfirm/apis/tsf-booking-api.md) · [All operations](https://skmtc.dev/scalingfirm/apis/tsf-booking-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalingfirm/apis/tsf-booking-api/revisions/81704199cd37?raw)
