---
title: "Patch Marketer Org"
method: PATCH
path: "/super-admin/marketer-orgs/{org_id}"
tags: ["super-admin"]
---

# Patch Marketer Org

`PATCH /super-admin/marketer-orgs/{org_id}`

## Request

- Base URL: `https://app.dataassist.io` (the document declares no server; this is the origin it was published from)
- URL: `https://app.dataassist.io/super-admin/marketer-orgs/{org_id}`
- Auth: none declared

Edit a marketing-org row. Deactivating cascades a sanity flip on all
its codes (sets `promo_codes.is_active=FALSE` for everything that org
owns) so both layers reflect the same truth.

Field semantics use Pydantic's `model_fields_set` so the SPA can
explicitly CLEAR a value: omitting a key from the body = no change;
sending `null` or an empty string = clear to NULL.

## Path parameters

- `org_id` integer, required

## Request body

- PatchMarketerOrgRequest
  - `is_active` boolean, nullable
  - `payout_method` string, nullable
  - `payout_details` object, nullable
  - `notes` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dataassist/apis/dataassist-io-server.md) · [All operations](https://skmtc.dev/dataassist/apis/dataassist-io-server/llms.txt) · [OpenAPI document](https://skmtc.dev/dataassist/apis/dataassist-io-server/revisions/43b22ccf75fe?raw)
