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

# Delete a product

> Permanently remove a synced product and its managed images from the catalog.



## OpenAPI

````yaml openapi.yaml DELETE /vfr/manage/sites/{site_id}/products/{product_id}
openapi: 3.1.0
info:
  title: virtual.fit API
  version: 2.0.0
  description: Catalog sync, storefront fit evidence, and product recommendation endpoints.
servers:
  - url: https://api.virtual.fit
security:
  - bearerAuth: []
tags:
  - name: Catalog
  - name: Storefront evidence
  - name: Recommendations
paths:
  /vfr/manage/sites/{site_id}/products/{product_id}:
    delete:
      tags:
        - Catalog
      summary: Delete a product
      description: |
        Permanently removes the synced product record and its managed product
        images. The canonical catalog retains a deletion tombstone so a stale
        source snapshot cannot serve the product again. Syncing the same product
        ID later creates it again and clears the tombstone.
      operationId: deleteCatalogProduct
      parameters:
        - $ref: '#/components/parameters/SiteID'
        - $ref: '#/components/parameters/ProductID'
      responses:
        '200':
          description: Product deleted.
          content:
            application/json:
              schema:
                type: object
                required:
                  - deleted
                  - product_id
                properties:
                  deleted:
                    type: boolean
                    const: true
                  product_id:
                    type: string
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    SiteID:
      name: site_id
      in: path
      required: true
      description: Custom JavaScript site ID from virtual.fit.
      schema:
        type: string
        format: uuid
    ProductID:
      name: product_id
      in: path
      required: true
      description: >
        Stable, case-sensitive identity that remains unchanged when the
        product's

        title, URL, options, variants, price, or media change. URL-encode it in

        the request path.
      schema:
        type: string
        maxLength: 255
  responses:
    Unauthorized:
      description: Missing or invalid API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: The API-key account cannot modify this site.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Site, product, variant, or recommendation context not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Keep the virtual.fit API key on your server.

````