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

# Archive a product

> This endpoint archives a product by setting its status to 'archived'. It requires the `x-store-id` header to verify ownership. Used for keeping the product catalog organized by removing outdated products.



## OpenAPI

````yaml /api-reference/blink-api.json delete /v1/products/{id}
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - storeIdHeader: []
tags:
  - name: Invoices
    description: Unified merchant of record invoices for products and subscriptions.
  - name: Geo Pricing
    description: Resolve Purchasing Power Parity (PPP) localized pricing.
paths:
  /v1/products/{id}:
    delete:
      tags:
        - Products
      summary: Archive a product
      description: >-
        This endpoint archives a product by setting its status to 'archived'. It
        requires the `x-store-id` header to verify ownership. Used for keeping
        the product catalog organized by removing outdated products.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: ID of the product to archive.
      responses:
        '200':
          description: Product archived successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  archived:
                    type: boolean
        '401':
          description: Unauthorized - Store ID header missing.
        '404':
          description: Product not found.
      security:
        - storeIdHeader: []
components:
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````