Update many cost codes
Apply one set of changes to every cost code matching your filter. This is how you retire a batch of codes at once, with { "isActive": false }.
The filter must be in the query string. A filter in the body is ignored, and a request with no filter is rejected with 400 so you cannot update the whole list by accident.
Authorizations
Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.
Query Parameters
Full-text search across the resource's search columns. Append :col1,col2 to limit which columns are searched.
AND/OR filter expression, for example type eq 'phase' and isArchived eq false. Simple equality can also be passed as plain field parameters.
Body
Every field is optional. Only the fields you send are changed.
Response
The updated cost codes.