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

# Append Catalog Operation Chunk

> Upload up to 500 distinct targets at the next chunkIndex, starting at zero. Provide updates for pricing, productIds for enrichment, or products for record imports. Each product belongs to one chunk. Replaying the same chunk index and content is safe and returns the latest upload progress. Pricing captures product versions when targets are appended. Enrichment receipts identify the linked review and report when generation reaches review. Requires catalog:write.



## OpenAPI

````yaml /openapi.json post /api/v1/catalog/operations/plan/append
openapi: 3.1.0
info:
  title: OmniCommerce API
  version: 1.0.0
  license:
    name: Proprietary
    url: https://omnicommerce.sg/terms
  description: >-
    OmniCommerce API surface for agents and developer integrations. Includes
    public endpoints (merchant discovery, product search, compare, catalog, ACO
    retrieval) and authenticated endpoints (product management via API key
    Bearer tokens).
servers:
  - url: https://omnicommerce.ai
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
tags:
  - name: ads
    description: ads
    x-group: Ads
  - name: agentic-checkout
    description: Merchant-fulfilled agentic checkout
    x-group: Agentic Checkout
  - name: agents
    description: agents
    x-group: Agents
  - name: analytics
    description: Sales performance across marketplaces
    x-group: Analytics
  - name: aops
    description: Agent operating procedures
    x-group: AOPs
  - name: bots
    description: bots
    x-group: Bots
  - name: branding
    description: branding
    x-group: Branding
  - name: campaigns
    description: Campaign briefs, offer windows, and marketplace runs
    x-group: Campaigns
  - name: catalog
    description: catalog
    x-group: Catalog
  - name: commerce
    description: commerce
    x-group: Commerce
  - name: developer-platform
    description: Authenticated developer platform APIs
    x-group: Developer Platform
  - name: documents
    description: Knowledge base document uploads
    x-group: Knowledge Base
  - name: email
    description: email
    x-group: Email
  - name: follow-ups
    description: follow-ups
    x-group: Follow Ups
  - name: inventory
    description: Inventory quantities, planning signals, and marketplace listing absence
    x-group: Inventory
  - name: looks
    description: AI-styled product looks
    x-group: Looks
  - name: oauth
    description: OAuth token endpoints
    x-group: OAuth
  - name: orders
    description: Workspace and agentic orders
    x-group: Orders
  - name: organizations
    description: Organization management
    x-group: Organizations
  - name: price-books
    description: Marketplace list-price markup rules
    x-group: Price Books
  - name: products
    description: Product CRUD, bulk import, enrichment, publish, and delist
    x-group: Products
  - name: promotions
    description: Central promotions and marketplace sync
    x-group: Promotions
  - name: public-agent
    description: Public agent discovery and catalog APIs
    x-group: Public Agent
  - name: returns
    description: returns
    x-group: Returns
  - name: review-queue
    description: review-queue
    x-group: Review Queue
  - name: reviews
    description: Marketplace product reviews and seller replies
    x-group: Reviews
  - name: scripts
    description: scripts
    x-group: Scripts
  - name: settlements
    description: settlements
    x-group: Settlements
  - name: ucp
    description: Universal Commerce Protocol
    x-group: UCP
  - name: wiki
    description: wiki
    x-group: Wiki
paths:
  /api/v1/catalog/operations/plan/append:
    post:
      tags:
        - catalog
      summary: Append Catalog Operation Chunk
      description: >-
        Upload up to 500 distinct targets at the next chunkIndex, starting at
        zero. Provide updates for pricing, productIds for enrichment, or
        products for record imports. Each product belongs to one chunk.
        Replaying the same chunk index and content is safe and returns the
        latest upload progress. Pricing captures product versions when targets
        are appended. Enrichment receipts identify the linked review and report
        when generation reaches review. Requires catalog:write.
      operationId: post_v1_catalog_operations_plan_append
      parameters:
        - in: query
          name: organizationId
          required: false
          description: >-
            Required for session authentication. Bearer credentials are already
            organization-scoped.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                operationId:
                  type: string
                  format: uuid
                  pattern: >-
                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                chunkIndex:
                  type: integer
                  minimum: 0
                  maximum: 999999
                updates:
                  minItems: 1
                  maxItems: 500
                  type: array
                  items:
                    type: object
                    properties:
                      productId:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      price:
                        type: number
                        minimum: 0
                      salePrice:
                        anyOf:
                          - type: number
                            minimum: 0
                          - type: 'null'
                      currency:
                        type: string
                        pattern: ^[A-Z]{3}$
                      costPrice:
                        anyOf:
                          - type: number
                            minimum: 0
                          - type: 'null'
                      costPriceCurrency:
                        type: string
                        pattern: ^[A-Z]{3}$
                      expectedUpdatedAt:
                        type: string
                        format: date-time
                        pattern: >-
                          ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
                      targets:
                        minItems: 1
                        maxItems: 25
                        type: array
                        items:
                          type: object
                          properties:
                            platform:
                              type: string
                              enum:
                                - shopee
                                - lazada
                                - tiktok
                                - shopify
                                - whatsapp
                                - zalora
                                - amazon
                                - ebay
                            accountId:
                              type: string
                              minLength: 1
                              maxLength: 255
                          required:
                            - platform
                            - accountId
                          additionalProperties: false
                    required:
                      - productId
                    additionalProperties: false
                productIds:
                  minItems: 1
                  maxItems: 500
                  type: array
                  items:
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                products:
                  minItems: 1
                  maxItems: 500
                  type: array
                  items:
                    type: object
                    properties:
                      sku:
                        type: string
                        minLength: 1
                        maxLength: 200
                      title:
                        type: string
                        maxLength: 400
                      gtin:
                        type: string
                        maxLength: 100
                      upc:
                        type: string
                        maxLength: 100
                        description: >-
                          UPC-A / GTIN-12 string with a valid GS1 check digit.
                          Preserve leading zeros.
                      ean:
                        type: string
                        maxLength: 100
                        description: >-
                          EAN-8 or EAN-13 string with a valid GS1 check digit.
                          Preserve leading zeros.
                      brand:
                        type: string
                        maxLength: 160
                      description:
                        type: string
                        maxLength: 10000
                      price:
                        type: number
                        minimum: 0
                      currency:
                        type: string
                        pattern: ^[A-Za-z]{3}$
                      compareAtPrice:
                        type: number
                        minimum: 0
                      salePrice:
                        type: number
                        minimum: 0
                      costPerItem:
                        type: number
                        minimum: 0
                      inventory:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      variationAttributes:
                        type: object
                        propertyNames:
                          type: string
                          minLength: 1
                          maxLength: 100
                        additionalProperties:
                          type: string
                          minLength: 1
                          maxLength: 200
                        description: >-
                          Explicit options for this row's SKU, such as Size and
                          Color (maximum 20). Enrichment never infers missing
                          options. At Zalora publish time only, a missing
                          required Size defaults to One Size when valid for the
                          selected category and size system; other required
                          options must be supplied.
                      marketplaceAttributes:
                        type: object
                        propertyNames:
                          type: string
                          enum:
                            - shopee
                            - lazada
                            - tiktok
                            - shopify
                            - whatsapp
                            - zalora
                            - amazon
                            - ebay
                        additionalProperties:
                          type: object
                          propertyNames:
                            type: string
                            minLength: 1
                            maxLength: 100
                          additionalProperties:
                            anyOf:
                              - type: string
                                minLength: 1
                                maxLength: 10000
                              - minItems: 1
                                maxItems: 100
                                type: array
                                items:
                                  type: string
                                  minLength: 1
                                  maxLength: 10000
                        description: >-
                          Explicit marketplace attribute maps using native
                          attribute names (maximum 100 per marketplace). Values
                          apply to the row's selected stores; use strings or
                          string arrays.
                      images:
                        maxItems: 30
                        type: array
                        items:
                          type: string
                          maxLength: 2048
                          format: uri
                      videos:
                        description: >-
                          At most one direct public HTTP(S) MP4 file URL (100 MB
                          maximum). Copied to managed storage during import.
                          Watch/share pages and private URLs are unsupported.
                          Gallery video publishing supports Shopee, Lazada,
                          TikTok, Shopify and production eBay stores. Amazon
                          gallery, WhatsApp PDP and Zalora MP4 limitations are
                          reported explicitly.
                        maxItems: 1
                        type: array
                        items:
                          type: string
                          maxLength: 2048
                          format: uri
                      category:
                        type: string
                        maxLength: 255
                      categoryName:
                        type: string
                        maxLength: 500
                      weight:
                        type: number
                        minimum: 0
                      dimensions:
                        type: object
                        properties:
                          length:
                            type: number
                            minimum: 0
                          width:
                            type: number
                            minimum: 0
                          height:
                            type: number
                            minimum: 0
                        required:
                          - length
                          - width
                          - height
                        additionalProperties: false
                    required:
                      - sku
                    additionalProperties: false
              required:
                - operationId
                - chunkIndex
              additionalProperties: false
      responses:
        '200':
          description: Result
          content:
            application/json:
              schema:
                type: object
                required:
                  - ok
                  - data
                properties:
                  ok:
                    type: boolean
                  apiVersion:
                    type: string
                  operationId:
                    type: string
                  status:
                    type: string
                  data:
                    type: object
                    properties:
                      operationId:
                        type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
                      plannedCount:
                        type: number
                      nextChunkIndex:
                        type: number
                      sealed:
                        type: boolean
                    required:
                      - operationId
                      - plannedCount
                      - nextChunkIndex
                      - sealed
        '400':
          description: Invalid request.
        '401':
          description: Authentication required.
        '403':
          description: Missing capability or organization/product access.
        '404':
          description: Catalog plan not found or inaccessible.
        '409':
          description: Idempotency key reused with different input.
        '413':
          description: The request exceeds the 8 MiB body or operation size limit.
        '503':
          description: Temporarily unavailable. Retry the same idempotency key.
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Bearer API key for server-to-server access. Session auth is also
        supported in first-party UI flows.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.