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

# Update a catalog



## OpenAPI

````yaml /api-reference/catalogs-v1.json patch /v1/locations/{location_id}/catalogs/{catalog_id}
openapi: 3.0.0
info:
  title: Chataigne Catalogs API
  description: Synchronize complete catalogs or update individual catalog resources.
  version: '2026-05-01'
  contact: {}
servers:
  - url: https://server.chataigne.ai
security: []
tags: []
paths:
  /v1/locations/{location_id}/catalogs/{catalog_id}:
    patch:
      tags:
        - Catalogs
      summary: Update a catalog
      operationId: CatalogsV1Controller_update
      parameters:
        - name: location_id
          in: path
          required: true
          schema:
            type: string
          example: loc_r8v4n2c6tz
        - name: catalog_id
          in: path
          required: true
          schema:
            type: string
          example: delivery-menu
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateCatalogRequest'
      responses:
        '200':
          description: The updated catalog.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Catalog'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Authentication required.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: The principal is not allowed to perform this request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: The resource does not exist.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict or idempotency error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - organization-api-key: []
components:
  schemas:
    UpdateCatalogRequest:
      type: object
      required:
        - name
      additionalProperties: false
      properties:
        name:
          type: string
    Catalog:
      type: object
      required:
        - id
        - object
        - name
        - created_at
        - updated_at
      properties:
        id:
          type: string
          example: delivery-menu
          description: >-
            Stable public id, unique only within this location. Existing POS or
            dashboard catalogs may use a provider or Chataigne-generated id.
        object:
          type: string
          enum:
            - catalog
        name:
          type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Error:
      type: object
      properties:
        error:
          type: object
          required:
            - type
            - code
            - message
            - request_id
          properties:
            type:
              type: string
              enum:
                - invalid_request_error
                - authentication_error
                - authorization_error
                - not_found_error
                - conflict_error
                - rate_limit_error
                - idempotency_error
                - api_error
            code:
              type: string
              example: resource_missing
            message:
              type: string
            param:
              type: string
            request_id:
              type: string
              example: req_8f2c…
            details:
              type: object
              additionalProperties: true
  securitySchemes:
    organization-api-key:
      type: apiKey
      in: header
      name: x-api-key
      description: Location/organization API key.

````