Skip to main content
PATCH
Update office (JSON Merge Patch — arrays are wholesale-replaced)

Authorizations

Authorization
string
header
required

Microsoft Entra ID JWT (staff) or OAuth2 client-credentials token issued by APIM (partners).

Headers

if-match
string

Optional. When provided, the server enforces optimistic concurrency: the request is rejected with 412 Precondition Failed if the resource was modified since this ETag was issued. Omit for last-write-wins behavior.

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
Minimum string length: 1
legacyMoxiOfficeId
string | null
brokerageId
string<uuid> | null
code
string | null
Minimum string length: 1
internalOfficeId
string | null
Minimum string length: 1
mlsMemberships
object[]
commonName
string | null

DEPRECATED: use name (the office legal entity name). Null for V1-sourced offices; still returned and accepted, will be removed in a later release.

regionId
string<uuid> | null
secondaryRegionId
string<uuid> | null
timezone
string | null
managerAgentId
string<uuid> | null
phone
string | null
altPhone
string | null
fax
string | null
email
string | null
officeWebsite
string | null
address
string | null
address2
string | null
city
string | null
county
string | null
state
string | null
zipCode
string | null
mailingAddress
string | null
mailingAddress2
string | null
mailingCity
string | null
mailingState
string | null
mailingZip
string | null
social
object
displayPublic
boolean
tags
string[]
imageUrl
string | null
logoUrl
string | null
externalPartnerIds
object[]
officeWoboEnabled
boolean
woboEligibleRoles
enum<string>[]

Office WOBO buckets that get access: staff (permission levels office-admin, office-group-admin), manager (manager), owner (office-owner). Other values are rejected. Defaults to ["staff"] on create.

Available options:
staff,
manager,
owner

Response

200 - application/json

Default Response

id
string<uuid>
required
legacyMoxiOfficeId
string | null
required
brokerageId
string<uuid> | null
required
code
string | null
required
internalOfficeId
string | null
required

Short V1 internal office number (V1 client_office_id, e.g. "80000"). Unique when set. Distinct from legacyMoxiOfficeId (Moxi GUID) and code.

mlsMemberships
object[]
required
name
string
required

Legal entity name of the office (e.g. "Windermere Services Company"). Display name is commonName.

commonName
string | null
required

DEPRECATED: use name (the office legal entity name). Null for V1-sourced offices; still returned and accepted, will be removed in a later release.

regionId
string<uuid> | null
required
secondaryRegionId
string<uuid> | null
required
region
object | null
required
secondaryRegion
object | null
required
timezone
string | null
required
managerAgentId
string<uuid> | null
required
manager
object | null
required
phone
string | null
required
altPhone
string | null
required
fax
string | null
required
email
string | null
required
officeWebsite
string | null
required
address
string | null
required
address2
string | null
required
city
string | null
required
county
string | null
required
state
string | null
required
zipCode
string | null
required
mailingAddress
string | null
required
mailingAddress2
string | null
required
mailingCity
string | null
required
mailingState
string | null
required
mailingZip
string | null
required
social
object
required
displayPublic
boolean
required
tags
string[]
required
imageUrl
string | null
required
logoUrl
string | null
required
externalPartnerIds
object[]
required

Partner-system identifiers. Filtered by: partnerIdsFilter (staff see all; partners see entries matching their canonical partner_name and any granted_names).

isSystem
boolean
required
deactivatedAt
string<date-time> | null
required
createdAt
string
required
updatedAt
string
required
brokerage
object | null
required
officeWoboEnabled
boolean
required
woboEligibleRoles
string[]
required
woboSetBy
string | null
required
woboSetAt
string<date-time> | null
required
agentCount
integer
Required range: x >= 0
agentsPendingTos
integer
Required range: x >= 0
mlsUserCount
integer
Required range: x >= 0