> ## 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 all subscriptions

> Retrieve a paginated list of all subscriptions associated with the store using `x-store-id`. Supports filtering by `status`, `customer_id`, and `product_id`, with pagination using `limit` query parameter.



## OpenAPI

````yaml /api-reference/shopper-api.json get /subscriptions
openapi: 3.0.0
info:
  title: Shopper API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - bearerAuth: []
paths:
  /subscriptions:
    get:
      tags:
        - Shopper Subscriptions
      summary: List all subscriptions
      description: >-
        Retrieve a paginated list of all subscriptions associated with the store
        using `x-store-id`. Supports filtering by `status`, `customer_id`, and
        `product_id`, with pagination using `limit` query parameter.
      parameters:
        - name: limit
          in: query
          description: Number of subscriptions to retrieve.
          schema:
            type: integer
        - name: status
          in: query
          description: Filter subscriptions by status.
          schema:
            type: string
        - name: customer_id
          in: query
          description: Filter subscriptions by customer ID.
          schema:
            type: string
        - name: product_id
          in: query
          description: Filter subscriptions by product ID.
          schema:
            type: string
      responses:
        '200':
          description: List of subscriptions retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubscriptionsList'
        '401':
          description: Unauthorized - Store ID header missing.
        '500':
          description: Internal Server Error.
      security:
        - storeIdHeader: []
components:
  schemas:
    SubscriptionsList:
      type: object
      properties:
        meta:
          type: object
          properties:
            total:
              type: integer
        data:
          type: array
          items:
            $ref: '#/components/schemas/SubscriptionDetails'
    SubscriptionDetails:
      type: object
      properties:
        id:
          type: string
        store_id:
          type: string
        product_id:
          type: string
        variant_id:
          type: string
        status:
          type: string
        current_period_end:
          type: string
          format: date-time
        cancel_at_period_end:
          type: boolean
        metadata:
          type: object
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        stripe_subscription_id:
          type: string
        stripe_customer_id:
          type: string
        product:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            pricing_model:
              type: string
            subscription_interval:
              type: string
        variant:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            price:
              type: number
            subscription_interval:
              type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````