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

# Export Property Overrides Csv

> Export every enrichment override (per-ProductType + per-Category) as CSV.

Columns (see `_OVERRIDES_CSV_COLUMNS`):
    product_type_key, property_key,
    prompt_name_override, ai_matching_guidance_override,
    enrichment_config_override_json  (JSON-serialized dict or empty)

Per-Category rows use the `category:<key>` syntax in the
`product_type_key` column (matching the upload route's contract),
so a round-trip via `/overrides/upload-csv` restores both surfaces
in another environment.

Per-ProductType rows are emitted first, then per-Category rows.
Within each group rows are sorted for deterministic diffs.



## OpenAPI

````yaml /openapi/merchantops-public.json get /api/property-definitions/overrides/export-csv
openapi: 3.1.0
info:
  description: >-
    Public API for the MerchantOps product catalog, pricing, and publishing
    surface.
  title: MerchantOps API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.merchantops.ai
security: []
paths:
  /api/property-definitions/overrides/export-csv:
    get:
      tags:
        - Property Definitions
      summary: Export Property Overrides Csv
      description: >-
        Export every enrichment override (per-ProductType + per-Category) as
        CSV.


        Columns (see `_OVERRIDES_CSV_COLUMNS`):
            product_type_key, property_key,
            prompt_name_override, ai_matching_guidance_override,
            enrichment_config_override_json  (JSON-serialized dict or empty)

        Per-Category rows use the `category:<key>` syntax in the

        `product_type_key` column (matching the upload route's contract),

        so a round-trip via `/overrides/upload-csv` restores both surfaces

        in another environment.


        Per-ProductType rows are emitted first, then per-Category rows.

        Within each group rows are sorted for deterministic diffs.
      operationId: export_property_overrides_csv
      parameters:
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - in: header
          name: X-Organization-ID
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Organization-Id
        - in: cookie
          name: stytch_session
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Stytch Session
      responses:
        '200':
          content:
            application/json:
              schema: {}
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````