NodeRingsDocs

List High Risk Coupons

Platform admins only: high-risk coupons across all providers, most redeemed first.

GET
/v1/admin/coupons/high-risk
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Query Parameters

page?integer
Formatint32
pageSize?integer
Formatint32
providerOrganizationId?string
includeInactive?boolean

Also list inactive and banned coupons.

Response Body

application/json

curl -X GET "https://api.noderings.com/v1/admin/coupons/high-risk?page&pageSize&providerOrganizationId&includeInactive" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}"
{
  "coupons": [
    {
      "coupon": {
        "id": "string",
        "name": "string",
        "description": "string",
        "discountType": "COUPON_DISCOUNT_TYPE_UNSPECIFIED",
        "percentOff": "string",
        "amountsOff": {
          "property1": "string",
          "property2": "string"
        },
        "maxDiscountAmounts": {
          "property1": "string",
          "property2": "string"
        },
        "appliesTo": [
          "string"
        ],
        "usageMetricCodes": [
          "string"
        ],
        "assetCategories": [
          "string"
        ],
        "assetTypes": [
          "string"
        ],
        "planIds": [
          "string"
        ],
        "duration": "COUPON_DURATION_UNSPECIFIED",
        "durationInPeriods": 0,
        "durationDays": 0,
        "validFrom": "2019-08-24T14:15:22Z",
        "validUntil": "2019-08-24T14:15:22Z",
        "maxRedemptions": 0,
        "timesRedeemed": 0,
        "oncePerCustomer": true,
        "firstTimeCustomerOnly": true,
        "highRisk": true,
        "status": "STATUS_UNSPECIFIED",
        "timestamps": {
          "createTime": "2019-08-24T14:15:22Z",
          "updateTime": "2019-08-24T14:15:22Z"
        },
        "fundedBy": "COUPON_FUNDING_UNSPECIFIED",
        "creditValidDays": 0
      },
      "providerOrganizationId": "string",
      "providerOrganizationName": "string",
      "redemptionsLast7Days": 0,
      "lastRedeemedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "totalCount": 0,
  "page": 0,
  "pageSize": 0
}