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

# Add Tracked Products

> Track one or more products; duplicates are counted and skipped instead of failing the request



## OpenAPI

````yaml /v2/openapi.json post /shopping/tracked-products
openapi: 3.0.0
info:
  title: Promptwatch API v2
  description: >-
    API v2 for customer integrations with Promptwatch monitoring platform. This
    version provides improved structure, additional endpoints, and enhanced
    functionality.
  version: 2.0.0
  contact:
    name: Promptwatch Support
    email: team@promptwatch.com
    url: https://promptwatch.com
  license:
    name: Commercial
    url: https://promptwatch.com/terms-and-conditions
servers:
  - url: https://server.promptwatch.com/api/v2
    description: Promptwatch API v2
security: []
tags:
  - name: Authentication
    description: API key validation and authentication
  - name: Content
    description: >-
      AI content generation and optimization. Create content asynchronously and
      poll for results.
  - name: Content Agent
    description: >-
      Content Agent (automated content) lifecycle: project settings, scheduled
      slots, review (accept/decline), and publish.
  - name: Content Gap
    description: Content gap analysis and recommendations
  - name: Publishing
    description: >-
      Publish content to a connected CMS, or record a live URL, and track the
      published page
  - name: Models
    description: Available LLM models
  - name: Monitors
    description: Monitor management and CRUD operations
  - name: Page Tracker
    description: Track URLs and inspect citation stats, responses, and prompts
  - name: Prompts
    description: Prompt management and operations
  - name: Query Fanouts
    description: ChatGPT query fanout keywords
  - name: Responses
    description: LLM response data and analytics
  - name: Tags
    description: Tag management for prompts
  - name: Topics
    description: Topic management for prompts
  - name: Actions
    description: Action items (GEO suggestions and tasks)
  - name: Personas
    description: Persona configuration for monitors
  - name: Brands
    description: Brand management for competitive analysis
  - name: Visibility
    description: Brand visibility time series and competitor heatmaps
  - name: Citations
    description: Citation analytics from AI responses
  - name: Analytics
    description: Visitor analytics, AI crawler logs, sentiment, and brand visibility trends
  - name: Projects
    description: Project management (organization-level keys only)
  - name: Sitemap
    description: Sitemap crawl progress and discovered URLs
  - name: Site Health
    description: >-
      Crawled pages with SEO issues (titles, meta descriptions, H1, thin
      content)
  - name: Socials
    description: >-
      Social media citations (Reddit posts and YouTube videos) found in LLM
      responses
  - name: Ads Radar
    description: Sponsored ads captured in AI answers
  - name: Shopping
    description: Product appearances in AI shopping answers and tracked products
paths:
  /shopping/tracked-products:
    post:
      tags:
        - Shopping
      summary: Add Tracked Products
      description: >-
        Track one or more products; duplicates are counted and skipped instead
        of failing the request
      operationId: addShoppingTrackedProducts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                products:
                  type: array
                  items:
                    type: object
                    properties:
                      externalProductId:
                        type: string
                        minLength: 1
                        maxLength: 255
                        description: Catalog product id
                      name:
                        type: string
                        minLength: 1
                        maxLength: 500
                        description: Product name
                      description:
                        type: string
                        maxLength: 2000
                        nullable: true
                        description: Optional product description
                    required:
                      - externalProductId
                      - name
                    additionalProperties: false
                  minItems: 1
                  maxItems: 5000
                  description: Products to track; duplicates are skipped, not rejected
              required:
                - products
              additionalProperties: false
      responses:
        '201':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  created:
                    type: integer
                    description: Newly created tracked products
                  reactivated:
                    type: integer
                    description: Previously deleted tracked products restored
                  matched:
                    type: integer
                    description: Products matched to an already-extracted shopping item
                  duplicateInBatch:
                    type: integer
                    description: Rows skipped as duplicates within the request
                  duplicateExisting:
                    type: integer
                    description: Rows skipped because the product is already tracked
                  submitted:
                    type: integer
                    description: Rows submitted in the request
                required:
                  - created
                  - reactivated
                  - matched
                  - duplicateInBatch
                  - duplicateExisting
                  - submitted
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                example:
                  error: Bad Request
                  code: DATE_RANGE_TOO_LARGE
                  message: Date range cannot exceed 90 days
                properties:
                  error:
                    type: string
                    description: Error label
                  code:
                    type: string
                    description: Optional machine-readable code (e.g. DATE_RANGE_TOO_LARGE)
                  message:
                    type: string
                    description: Reason the request was rejected
                required:
                  - error
                  - message
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                example:
                  error: Unauthorized
                  message: Missing or invalid X-API-Key header.
                properties:
                  error:
                    type: string
                    description: Error category (often aligned with HTTP semantics)
                  code:
                    type: string
                    description: Optional machine-readable code
                  message:
                    type: string
                    description: Human-readable explanation
                  details:
                    type: object
                    description: Optional structured detail (e.g. validation)
                    additionalProperties: true
                required:
                  - error
                  - message
                additionalProperties: false
        '402':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                example:
                  code: SHOPPING_INSIGHTS_PLAN_REQUIRED
                  message: Shopping insights are not available on your current plan
                properties:
                  code:
                    type: string
                    enum:
                      - SHOPPING_INSIGHTS_PLAN_REQUIRED
                      - SHOPPING_ITEM_NOT_FOUND
                      - SHOPPING_TRACKED_PRODUCT_NOT_FOUND
                      - SHOPPING_TRACKED_PRODUCT_INVALID_INPUT
                      - INTERNAL_ERROR
                    description: Machine-readable error code
                  message:
                    type: string
                    description: Human-readable error message
                required:
                  - code
                  - message
                additionalProperties: false
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                example:
                  code: SHOPPING_INSIGHTS_PLAN_REQUIRED
                  message: Shopping insights are not available on your current plan
                properties:
                  code:
                    type: string
                    enum:
                      - SHOPPING_INSIGHTS_PLAN_REQUIRED
                      - SHOPPING_ITEM_NOT_FOUND
                      - SHOPPING_TRACKED_PRODUCT_NOT_FOUND
                      - SHOPPING_TRACKED_PRODUCT_INVALID_INPUT
                      - INTERNAL_ERROR
                    description: Machine-readable error code
                  message:
                    type: string
                    description: Human-readable error message
                required:
                  - code
                  - message
                additionalProperties: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        API key for authentication. Get yours from the Promptwatch dashboard
        under Settings > API Keys.

````