> ## Documentation Index
> Fetch the complete documentation index at: https://docs.windermere.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update brokerage (RFC 7396 merge patch)



## OpenAPI

````yaml /api-reference/v2/openapi.json patch /brokerages/{id}
openapi: 3.0.3
info:
  title: Windermere Atlas API
  description: V2 data API — Project Atlas
  version: 2.0.0
servers:
  - url: https://api.windermere.com/v2/api
security:
  - bearerAuth: []
tags:
  - name: agents
    description: Agent profile read endpoints
  - name: offices
    description: Office read endpoints
  - name: teams
    description: Team read endpoints
  - name: listings
    description: Listings (RESO Data Dictionary Property records; active + sold)
  - name: reso
    description: >-
      RESO Web API Core (OData 4.0) facade over listings — Property, Media,
      OpenHouse, Lookup
  - name: brokerages
    description: Brokerage read endpoints
  - name: regions
    description: Region read endpoints
  - name: dnc
    description: Do-not-contact list read endpoints
  - name: directory
    description: Denormalized public directory (partner-safe)
  - name: webhooks
    description: Partner webhook subscriptions (partner-only)
  - name: health
    description: Liveness and readiness probes
paths:
  /brokerages/{id}:
    patch:
      tags:
        - brokerages
      summary: Update brokerage (RFC 7396 merge patch)
      parameters:
        - schema:
            type: string
            format: uuid
          in: path
          name: id
          required: true
        - schema:
            type: string
          in: header
          name: if-match
          required: false
          description: >-
            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.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                legalName:
                  type: string
                  minLength: 1
                commonName:
                  type: string
                  nullable: true
                code:
                  type: string
                  minLength: 1
                  nullable: true
                owners:
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                        minLength: 1
                      email:
                        type: string
                        format: email
                        nullable: true
                      ownershipPercent:
                        type: number
                        minimum: 0
                        maximum: 100
                        nullable: true
                      agentId:
                        type: string
                        format: uuid
                        nullable: true
                    required:
                      - name
                    additionalProperties: false
                includeInApi:
                  type: boolean
              additionalProperties: false
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  legalName:
                    type: string
                  commonName:
                    type: string
                    nullable: true
                  code:
                    type: string
                    minLength: 1
                    nullable: true
                  owners:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          minLength: 1
                        email:
                          type: string
                          format: email
                          nullable: true
                        ownershipPercent:
                          type: number
                          minimum: 0
                          maximum: 100
                          nullable: true
                        agentId:
                          type: string
                          format: uuid
                          nullable: true
                      required:
                        - name
                      additionalProperties: false
                  deactivatedAt:
                    type: string
                    format: date-time
                    nullable: true
                  includeInApi:
                    type: boolean
                  isSystem:
                    type: boolean
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  regions:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        name:
                          type: string
                      required:
                        - id
                        - name
                      additionalProperties: false
                required:
                  - id
                  - legalName
                  - commonName
                  - code
                  - owners
                  - deactivatedAt
                  - includeInApi
                  - isSystem
                  - createdAt
                  - updatedAt
                  - regions
                additionalProperties: false
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Microsoft Entra ID JWT (staff) or OAuth2 client-credentials token issued
        by APIM (partners).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.