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

# List product variants

> This endpoint retrieves a list of all variants associated with a specified product. It ensures store association by requiring the `x-store-id` header. The response includes detailed information on each variant, aiding efficient product management.



## OpenAPI

````yaml /api-reference/blink-api.json get /v1/products/{id}/variants
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}/variants:
    get:
      tags:
        - Products
      summary: List product variants
      description: >-
        This endpoint retrieves a list of all variants associated with a
        specified product. It ensures store association by requiring the
        `x-store-id` header. The response includes detailed information on each
        variant, aiding efficient product management.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
          description: ID of the product to retrieve variants for.
      responses:
        '200':
          description: List of product variants retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductVariantsList'
        '401':
          description: Unauthorized - Store ID header missing.
        '404':
          description: Product not found.
      security:
        - storeIdHeader: []
components:
  schemas:
    ProductVariantsList:
      type: object
      properties:
        meta:
          type: object
          properties:
            total:
              type: integer
        data:
          type: array
          items:
            $ref: '#/components/schemas/ProductVariantDetails'
    ProductVariantDetails:
      type: object
      properties:
        id:
          type: string
        product_id:
          type: string
        name:
          type: string
        description:
          type: string
        price:
          type: number
        subscription_interval:
          type: string
        trial_days:
          type: integer
        is_active:
          type: boolean
        requires_license_key:
          type: boolean
        license_key_activation_limit:
          type: integer
        created_at:
          type: string
          format: date-time
        deliverables:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              type:
                type: string
              title:
                type: string
              description:
                type: string
              url:
                type: string
              button_label:
                type: string
              created_at:
                type: string
                format: date-time
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````