Zum Hauptinhalt springen
GET
/
coupons
/
{couponId}
/
redeemptions
cURL
curl -X GET \
 /coupons/{couponId}/redeemptions \
 --header "Authorization: Bearer <token>"
{
  "data": [
    {
      "id": "<string>",
      "redeemedAt": "2023-11-07T05:31:56Z",
      "customer": {
        "id": "00000000-0000-0000-0000-000000000000",
        "customerNumber": "CUSTOMER-000",
        "timeZone": "Europe/Berlin",
        "name": "<string>"
      },
      "subscriptionItem": "https://example.com/"
    }
  ],
  "meta": {
    "pagination": {
      "totalItems": 123,
      "itemsPerPage": 123,
      "currentPage": 123,
      "lastPage": 123,
      "pageTotalItems": 123
    }
  }
}

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Pfadparameter

couponId
string
erforderlich

CouponRedemption identifier

Abfrageparameter

page
integer
Standard:1

The collection page number

limit
integer
Standard:30

The number of items per page

Erforderlicher Bereich: 0 <= x <= 100

Antwort

CouponRedemption collection

data
object[]
meta
object