---
title: "cart.coupon.count"
method: GET
path: "/cart.coupon.count.json"
tags: ["cart"]
---

# cart.coupon.count

`GET /cart.coupon.count.json`

## Request

- Base URL: `https://api.api2cart.com/v1.1`
- URL: `https://api.api2cart.com/v1.1/cart.coupon.count.json`
- Auth: API key in header `x-api-key` and API key in header `x-store-key`

This method allows you to get the number of coupons. On some platforms, you can filter the coupons by the date they were active.

## Query parameters

- `store_id` string
- `avail` boolean
- `date_start_from` string
- `date_start_to` string
- `date_end_from` string
- `date_end_to` string

## Response `200`

successful operation

- ModelResponseCartCouponCount
  - `return_code` integer, nullable
  - `return_message` string, nullable
  - `result` ResponseCartCouponCountResult
    - `coupons_count` integer, nullable
    - `additional_fields` object, nullable
    - `custom_fields` object, nullable
  - `additional_fields` object, nullable
  - `custom_fields` object, nullable

---

[API](https://skmtc.dev/api2cart/apis/api2cart-openapi.md) · [All operations](https://skmtc.dev/api2cart/apis/api2cart-openapi/llms.txt) · [OpenAPI document](https://skmtc.dev/api2cart/apis/api2cart-openapi/revisions/c34440741693?raw)
