---
title: "Fetch all coupons"
method: GET
path: "/coupons"
tags: ["Coupon"]
---

# Fetch all coupons

`GET /coupons`

Returns all coupons from the system

## Query parameters

- `filter` string, string
- `q` string, string

## Response `200`

Fetched coupons

- Coupon
  - `id` integer
  - `created_at` string
  - `updated_at` string
  - `user_id` integer
  - `restaurant_id` integer
  - `coupon_code` string
  - `discount` number, float
  - `is_flat_discount_in_amount` integer
  - `no_of_quantity_allowed` integer
  - `no_of_quantity_used` integer
  - `validity_start_date` string, date
  - `validity_end_date` string, date
  - `maximum_discount_amount` number, float
  - `is_active` integer

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/agriya/apis/ofos-api-endpoints.md) · [All operations](https://skmtc.net/agriya/apis/ofos-api-endpoints/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agriya/ofos-api-endpoints/versions/8db13a44d758/schema)
