Nimbu Developer Docs
ReferenceCoupons

Count coupons

GET
/coupons/count

Returns the total number of coupons defined on the site.

Authorization

AuthorizationBearer <token>

Personal access token tied to a user account. Requires the X-Nimbu-Site header to scope requests.

In: header

X-Nimbu-Site<token>

Identifier of the site context when authenticating with a personal access token.

In: header

Response Body

application/json

curl -X GET "https://example.com/coupons/count"
{
  "count": 0
}