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

# Update Customer

> Update fields of an existing customer.

Use this endpoint to update a customer's metadata, address, or other attributes.

Note: Certain fields like tax ID may require creating a new version depending on your audit policy.


## OpenAPI

````yaml PATCH /customers/{id}
openapi: 3.0.1
info:
  title: Antei API Reference
  description: >-
    Programmatic access to Antei’s platform. Use this API to manage core objects
    and retrieve taxation insights.
  version: 1.0.0
  license:
    name: MIT
  contact:
    name: Antei Developer Support
    email: support@antei.com
    url: https://antei.com
servers:
  - url: https://api.antei.com
security:
  - bearerAuth: []
paths:
  /customers/{id}:
    patch:
      summary: Update Customer
      description: Partially updates a customer record
      requestBody:
        description: Updated customer data
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewCustomer'
      responses:
        '200':
          description: Customer updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Customer'
components:
  schemas:
    NewCustomer:
      type: object
      required:
        - name
        - email
      properties:
        name:
          type: string
        email:
          type: string
        tax_id:
          type: string
    Customer:
      type: object
      required:
        - id
        - name
        - email
      properties:
        id:
          type: string
          description: Unique identifier for the customer
        name:
          type: string
          description: Name of the customer
        email:
          type: string
          description: Email address of the customer
        tax_id:
          type: string
          description: Tax ID associated with the customer
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````