Skip to main content
Version: v1.0.0(int)

E061: Update broker

PATCH /api/brokers/:id

Renames an existing broker. Triggered from Settings, Brokers. Same shape as W051.

Authentication

Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Admin.

Request

{ "name": "...", "commissionRate": 0.05, "isActive": true }

Passing isActive archives (false) or reactivates (true) the broker; all fields are optional.

Response — 200 OK

{ "id": "uuid", "name": "...", "commissionRate": 0.05 }

Errors

HTTPcodeCondition
404not_foundNo such broker.
422validation_failedShape invalid.

Workflow

Calls W061 Update broker.