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

> Fetch a paginated list of all discounts available within a store using `x-store-id`. Supports filtering by `status` and includes pagination via `limit`, `page`, and `offset`. Returns discount details such as codes, types, and amounts.



## OpenAPI

````yaml /api-reference/growth-api.json get /v1/discounts
openapi: 3.0.0
info:
  title: Growth API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - storeIdHeader: []
paths:
  /v1/discounts:
    get:
      tags:
        - Discounts
      summary: List Discounts
      description: >-
        Fetch a paginated list of all discounts available within a store using
        `x-store-id`. Supports filtering by `status` and includes pagination via
        `limit`, `page`, and `offset`. Returns discount details such as codes,
        types, and amounts.
      parameters:
        - name: status
          in: query
          description: Filter discounts by status.
          schema:
            type: string
      responses:
        '200':
          description: List of discounts with pagination.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiscountsListResponse'
      security:
        - storeIdHeader: []
components:
  schemas:
    DiscountsListResponse:
      type: object
      properties:
        meta:
          type: object
          properties:
            total:
              type: integer
            page:
              type: integer
            limit:
              type: integer
            has_more:
              type: boolean
        data:
          type: array
          items:
            $ref: '#/components/schemas/DiscountDetails'
    DiscountDetails:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        code:
          type: string
        discount_type:
          type: string
        discount_amount:
          type: number
        status:
          type: string
        max_redemptions:
          type: integer
        starts_at:
          type: string
          format: date-time
        expires_at:
          type: string
          format: date-time
        product_ids:
          type: array
          items:
            type: string
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````