---
title: "Tenant Referral"
method: POST
path: "/admin/tenants/{tid}/referral"
---

# Tenant Referral

`POST /admin/tenants/{tid}/referral`

## Request

- Base URL: `https://api.nullprint.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nullprint.ai/admin/tenants/{tid}/referral`
- Auth: none declared

超管手动改客户归属(审计):员工 BD(promoter_id)或普通客户(referrer_tenant_id),都空 = 清除。
10-06 负责人定:从改的这一刻起,之后的订单算新推荐人;之前的订单仍算原推荐人(已产生的提成 / 分成、可疑审核都不动)。
靠 referral_change 记一行(提成 / 分成按订单发生时的归属现算,见 referral.EFFECTIVE_JOIN)。

## Path parameters

- `tid` integer, required

## Request body

- ReferralBody
  - `promoter_id` integer, nullable
  - `referrer_tenant_id` integer, nullable
  - `reason` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/nullprint/apis/nullprint-backend.md) · [All operations](https://skmtc.dev/nullprint/apis/nullprint-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/nullprint/apis/nullprint-backend/revisions/51dfcef9dce2?raw)
