A valid request URL is required to generate request examples{
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"feature_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"feature_key": "<string>",
"feature_name": "<string>",
"unit_name": "<string>",
"feature_kind": "boolean",
"enabled": true,
"limit": 123,
"included_quantity": 123,
"note": "Migration deal, agreed with Ana on the 12th — unlimited seats through Q1.",
"expires_at": "2023-11-07T05:31:56Z",
"expired": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Promise this customer something the plan does not
Requires billing:write. Grants a feature to one customer regardless of their plan, or withholds one the plan carries.
An upsert, addressed by the pair that identifies it — a screen editing a cell does not know whether the cell already had a row and should not have to. There is no PATCH: a partial edit would have to decide what an omitted enabled means, and every answer to that is wrong in the direction that takes a feature away from somebody paying for it.
enabled and note are both required. enabled because a default of false would withhold a feature by omission; note because an override outlives the conversation that produced it, and a row nobody can explain is a row nobody dares remove.
Which number to send is decided by the feature’s kind, not by the request: a boolean feature carries neither, a metered one needs limit (-1 for unlimited), a credit one needs included_quantity. A withheld feature carries neither whatever its kind — a ceiling on something the customer does not have is a number nobody chose.
A valid request URL is required to generate request examples{
"customer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"feature_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"feature_key": "<string>",
"feature_name": "<string>",
"unit_name": "<string>",
"feature_kind": "boolean",
"enabled": true,
"limit": 123,
"included_quantity": 123,
"note": "Migration deal, agreed with Ana on the 12th — unlimited seats through Q1.",
"expires_at": "2023-11-07T05:31:56Z",
"expired": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Autorizações
Cabeçalhos
The organization the caller is acting on — the org_… code that appears in the panel URL. It identifies; the membership JOIN is what authorizes, so a forged code reads nothing: the answer is not_a_member (403), which does not mean the session is over. Absent, the session's default organization answers, or — if that membership was revoked while the session was open — any other one the caller still holds.
Parâmetros de caminho
Parâmetros de consulta
Corpo
Resposta
The override as it now stands.
A promise made to one customer on top of their plan — "we agreed to give this account unlimited seats" — or one made against it: "enabled": false withholds a feature the plan carries.
It REPLACES the plan's answer for that feature and never adds to it. Not a maximum: a downward override is as real as an upward one, and a merge rule that could only grant more would refuse half of its own use cases. Additive grants are a credit top-up, which is a ledger rather than this.