---
title: "Get available coupon codes for customer"
method: GET
path: "/ecommerce/coupons/customer/available"
tags: ["🛒 Ecommerce"]
---

# Get available coupon codes for customer

`GET /ecommerce/coupons/customer/available`

The API allows a logged-in user to retrieve a list of coupons based on their total shopping cart amount.

The API takes into account the user's current cart total and returns a list of valid coupon codes that the user is eligible to apply.

This functionality helps users find applicable discounts for their purchases, enhancing their shopping experience.

## Query parameters

- `page` string
- `limit` string

## Response `200`

Get available coupon codes for customer

- object
  - `data` object
    - `coupons` object[]
      - `__v` number
      - `_id` string
      - `couponCode` string
      - `createdAt` string
      - `discountValue` number
      - `expiryDate` string
      - `isActive` boolean
      - `minimumCartValue` number
      - `name` string
      - `owner` string
      - `startDate` string
      - `type` string
      - `updatedAt` string
    - `hasNextPage` boolean
    - `hasPrevPage` boolean
    - `limit` number
    - `nextPage` number
    - `page` number
    - `prevPage` unknown
    - `serialNumberStartFrom` number
    - `totalCoupons` number
    - `totalPages` number
  - `message` string
  - `statusCode` number
  - `success` boolean

---

[API](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi.md) · [All operations](https://skmtc.net/hiteshchoudhary-ssesph/apis/freeapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hiteshchoudhary-ssesph/freeapi/revisions/a9f3a290e4dc/schema)
