> ## 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 Discount Details

> Fetch details of a specific discount using its ID and the store’s `x-store-id`. Returns discount information including its name, code, type, amount, and associated products. Returns 404 if the discount is not found.



## OpenAPI

````yaml /api-reference/growth-api.json get /v1/discounts/{id}
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/{id}:
    get:
      tags:
        - Discounts
      summary: Retrieve Discount Details
      description: >-
        Fetch details of a specific discount using its ID and the store’s
        `x-store-id`. Returns discount information including its name, code,
        type, amount, and associated products. Returns 404 if the discount is
        not found.
      parameters:
        - name: id
          in: path
          required: true
          description: ID of the discount.
          schema:
            type: string
      responses:
        '200':
          description: Discount details retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DiscountDetails'
        '404':
          description: Discount not found.
      security:
        - storeIdHeader: []
components:
  schemas:
    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

````