Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Required range: 
0 <= x <= 100Required range: 
x >= 0curl --request GET \
  --url https://api.hyperline.co/v1/coupons \
  --header 'Authorization: Bearer <token>'{
  "meta": {
    "total": 1,
    "taken": 1,
    "skipped": 0,
    "approximateCount": false
  },
  "data": [
    {
      "id": "cou_DKL4Xcb5VSa8CQ",
      "name": "Partner discount",
      "description": "<string>",
      "expiration_date": "2023-11-07T05:31:56Z",
      "redemption_limit": 123,
      "product_ids": [
        "itm_DKL4Xcb5VSa8CQ",
        "itm_1234567890abcdef"
      ],
      "created_at": "2024-12-20T16:04:11Z",
      "type": "amount",
      "discount_amount": 2000,
      "currency": "EUR"
    }
  ]
}Retrieve all existing coupons.
curl --request GET \
  --url https://api.hyperline.co/v1/coupons \
  --header 'Authorization: Bearer <token>'{
  "meta": {
    "total": 1,
    "taken": 1,
    "skipped": 0,
    "approximateCount": false
  },
  "data": [
    {
      "id": "cou_DKL4Xcb5VSa8CQ",
      "name": "Partner discount",
      "description": "<string>",
      "expiration_date": "2023-11-07T05:31:56Z",
      "redemption_limit": 123,
      "product_ids": [
        "itm_DKL4Xcb5VSa8CQ",
        "itm_1234567890abcdef"
      ],
      "created_at": "2024-12-20T16:04:11Z",
      "type": "amount",
      "discount_amount": 2000,
      "currency": "EUR"
    }
  ]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
0 <= x <= 100x >= 0Was this page helpful?