> ## 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.

# Enrich Catalog Batch

> Enrich every product in a catalog batch.

Keys are resolved SERVER-SIDE so a 2,000-product batch never travels to the
browser and back. Hands off to the same async fan-out as
/api/products/batch-enrich-async, inheriting resume, cancel and job_items.



## OpenAPI

````yaml /openapi/merchantops-public.json post /api/catalog/batches/{key}/enrich
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/catalog/batches/{key}/enrich:
    post:
      tags:
        - Catalog
        - Catalog
        - Catalog Batches
      summary: Enrich Catalog Batch
      description: >-
        Enrich every product in a catalog batch.


        Keys are resolved SERVER-SIDE so a 2,000-product batch never travels to
        the

        browser and back. Hands off to the same async fan-out as

        /api/products/batch-enrich-async, inheriting resume, cancel and
        job_items.
      operationId: enrich_catalog_batch
      parameters:
        - in: path
          name: key
          required: true
          schema:
            title: Key
            type: string
        - 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
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CatalogBatchEnrichRequest'
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AsyncBulkJobResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    CatalogBatchEnrichRequest:
      description: Pipeline flags for a batch enrichment run.
      properties:
        enrich_product:
          default: true
          title: Enrich Product
          type: boolean
        reinitialize_attributes:
          default: false
          title: Reinitialize Attributes
          type: boolean
        scrape_brand_site:
          default: false
          title: Scrape Brand Site
          type: boolean
        search_lakehouse:
          default: false
          title: Search Lakehouse
          type: boolean
      title: CatalogBatchEnrichRequest
      type: object
    AsyncBulkJobResponse:
      description: Response for a queued large bulk operation (export / delete).
      properties:
        job_id:
          description: Job ID for tracking progress
          title: Job Id
          type: string
        message:
          description: Status message
          title: Message
          type: string
        total:
          description: Number of product keys queued for processing
          title: Total
          type: integer
      required:
        - job_id
        - total
        - message
      title: AsyncBulkJobResponse
      type: object
    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

````