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

# Retrieve subscription details

> Fetches detailed information about a specific subscription. Includes product and variant details associated with the subscription.

**Business Use-case:** Useful for understanding customer subscriptions and managing their lifecycle.

**Path Parameters:**
- `id`: Subscription ID (path parameter, required).

**Responses:**
- `200`: Subscription details retrieved successfully.
- `401`: Unauthorized if `x-store-id` is missing.
- `404`: Not Found if the subscription does not exist.



## OpenAPI

````yaml /api-reference/blink-api.json get /v1/subscriptions/{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/subscriptions/{id}:
    get:
      tags:
        - Subscriptions
      summary: Retrieve subscription details
      description: >-
        Fetches detailed information about a specific subscription. Includes
        product and variant details associated with the subscription.


        **Business Use-case:** Useful for understanding customer subscriptions
        and managing their lifecycle.


        **Path Parameters:**

        - `id`: Subscription ID (path parameter, required).


        **Responses:**

        - `200`: Subscription details retrieved successfully.

        - `401`: Unauthorized if `x-store-id` is missing.

        - `404`: Not Found if the subscription does not exist.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
        - name: x-store-id
          in: header
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Subscription details retrieved successfully
          content:
            application/json:
              schema:
                $ref: 7306c200-c7ea-40e8-bf85-b4c5791834a6
        '401':
          description: Unauthorized
        '404':
          description: Not Found
components:
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````