Skip to main content
GET
/
affiliates
/
couponcodes
List Coupon Codes
curl --request GET \
  --url https://api.eflow.team/v1/affiliates/couponcodes \
  --header 'X-Eflow-Api-Key: <api-key>'
{
  "coupon_codes": [
    {
      "network_coupon_code_id": 123,
      "network_offer_id": 123,
      "coupon_code": "<string>",
      "coupon_status": "<string>",
      "tracking_link": "<string>",
      "start_date": "2023-11-07T05:31:56Z",
      "end_date": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "is_description_plain_text": true,
      "relationship": {
        "offer": {
          "network_offer_id": 123,
          "name": "<string>",
          "offer_status": "<string>"
        }
      }
    }
  ]
}

Authorizations

X-Eflow-Api-Key
string
header
required

The affiliate's API key generated from the Affiliate Portal. Uses the X-Eflow-Api-Key header.

Response

200 - application/json

OK

coupon_codes
object[]

Array of coupon codes assigned to the affiliate.