Update a subcontractor
Updates the shared subcontractor record. Omit a field to leave it
unchanged; send null for an intake field (ein, website,
businessAddress, ownerName, ownerEmail, ownerPhone) to clear it.
licenses, when present, replaces the whole license set. Unknown fields,
including origin (which cannot be changed here), are rejected with
400 validation_failed.
The create rules for names apply to the record as it will be after the
update: changing entityType to sole_proprietor needs firstName and
lastName (in the body or already on the record), and a business entity
needs a companyName. Otherwise 400 validation_failed.
Adding information a Secretary of State or license check was waiting on
(name, trade, business address, licenses) starts that check right away
for every organization whose profile requires it.
data.informationNeeded lists anything still missing for yours.
Adding a license, or changing a license’s licenseNumber or state,
runs the license check again right away (a new paid lookup in
production), even if it ran before. Removing a license or changing only
its licenseType doesn’t.
422 is returned for a malformed ein, more than one primary license,
or a duplicate (state, licenseNumber) pair. Requires scope
subcontractors:write.
Authentication
Session JWT or API key (ak_...)
Path parameters
Request
The subcontractor’s “doing business as” name (shared). null or "" clears it.
Accepts NN-NNNNNNN or nine digits; stored normalized. A malformed EIN is rejected with 422.
Any US-parsable format; stored E.164
Optional trade/discipline of the subcontractor. Optional for API clients; the general-contractor web UI requires it when creating a subcontractor.
A bare host (acme.example) is accepted and stored as https://acme.example
Response
Subcontractor updated (includes the current licenses set)
Shared company details plus your organization’s own contact, externalId and metadata (never another organization’s).
