Update a cost code
Change one cost code. Only the fields you send are touched.
Renaming code does not rewrite the records that already carry the old value. Referenced by value from project.costCode, stage.costCode, deliverable.costCode, and work-session metadata.costCode. Those references are plain strings, so a rename leaves them pointing at a value that is no longer in the list.
Authorizations
Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.
Path Parameters
Record id.
Body
Every field is optional. Only the fields you send are changed.
Response
The updated cost code.
One entry in a code list. Cost, union, and per diem codes are three separate lists that share this shape and behave identically.