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

# Delete Discount

> Delete a discount using its ID, ensuring store authorization using `x-store-id`. Completely removes the discount from the system and marks it as deleted. Confirm the operation through the returned confirmation message.



## OpenAPI

````yaml /api-reference/growth-api.json delete /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}:
    delete:
      tags:
        - Discounts
      summary: Delete Discount
      description: >-
        Delete a discount using its ID, ensuring store authorization using
        `x-store-id`. Completely removes the discount from the system and marks
        it as deleted. Confirm the operation through the returned confirmation
        message.
      parameters:
        - name: id
          in: path
          required: true
          description: ID of the discount.
          schema:
            type: string
      responses:
        '200':
          description: Discount deleted successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteDiscountResponse'
        '404':
          description: Discount not found.
      security:
        - storeIdHeader: []
components:
  schemas:
    DeleteDiscountResponse:
      type: object
      properties:
        id:
          type: string
        deleted:
          type: boolean
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````