Skip to main content
POST
/
networks
/
couponcodes
/
bulk
Bulk Create Coupon Codes
curl --request POST \
  --url https://api.eflow.team/v1/networks/couponcodes/bulk \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "coupon_codes": [
    {
      "network_offer_id": 123,
      "network_affiliate_id": 123,
      "coupon_code": "<string>",
      "coupon_status": "active"
    }
  ]
}
'
{
  "result": true
}

Authorizations

X-Eflow-Api-Key
string
header
required

The Everflow API key generated from the Control Center > Security.

Body

application/json
coupon_codes
object[]
required

Array of coupon codes to create.

Response

200 - application/json

OK

result
boolean

Whether the bulk creation was successful.