Skip to main content
PATCH
Update many cost codes

Authorizations

X-API-Key
string
header
required

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.

filter
string

AND/OR filter expression, for example type eq 'phase' and isArchived eq false. Simple equality can also be passed as plain field parameters.

Body

application/json

Every field is optional. Only the fields you send are changed.

code
string

The code value itself. Renaming it does not rewrite the records that already carry the old value.

Minimum string length: 1
description
string | null

What the code is for. Trimmed on write.

isActive
boolean

Whether the code is still offered for new work.

Response

The updated cost codes.

values
object[]
required