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

E027: Update vendor

PATCH /api/vendors/:id

Edits a vendor's header fields. Triggered from Vendor Detail.

Authentication

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

Request

{ "name": "..." }

Code immutable after create.

Response — 200 OK

{ "id": "uuid", "code": "V-001", "name": "...", "isActive": true, "createdAt": "..." }

Errors

HTTPcodeCondition
404not_foundNo such vendor.
422validation_failedShape invalid.

Workflow

Calls W027 Update vendor.