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

# Patch customers



## OpenAPI

````yaml https://app.boothzen.com/api/v1/openapi.json patch /customers/{id}
openapi: 3.1.0
info:
  title: BoothZen API v1
  version: '1.0'
  description: >-
    Public REST API v1 for BoothZen booking management. Authenticate with
    `Authorization: Bearer bz_live_…` or `bz_test_…` keys.
servers:
  - url: https://api.boothzen.com/v1
    description: Production
security:
  - bearerAuth: []
paths:
  /customers/{id}:
    patch:
      tags:
        - Customer
      operationId: customer.update
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                first_name:
                  type: string
                  maxLength: 100
                last_name:
                  type: string
                  maxLength: 100
                email:
                  type: string
                  format: email
                  maxLength: 255
                phone:
                  type:
                    - string
                    - 'null'
                  maxLength: 50
                company:
                  type:
                    - string
                    - 'null'
                  maxLength: 200
                metadata:
                  type:
                    - array
                    - 'null'
                  items:
                    type:
                      - string
                      - 'null'
                    maxLength: 500
                  maxItems: 50
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: string
        '422':
          $ref: '#/components/responses/ValidationException'
      security:
        - bearerAuth: []
components:
  responses:
    ValidationException:
      description: Validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Errors overview.
              errors:
                type: object
                description: A detailed description of each field that failed validation.
                additionalProperties:
                  type: array
                  items:
                    type: string
            required:
              - message
              - errors
  securitySchemes:
    bearerAuth:
      type: http
      description: >-
        Bearer token: `bz_live_<32chars>` (live mode) or `bz_test_<32chars>`
        (test mode). Obtain via BoothZen admin → Settings → API Keys.
      scheme: bearer
      bearerFormat: BZ-API-Key

````