Skip to main content
POST
/
networks
/
custom
/
scrubrate
Create Custom Scrub Rate
curl --request POST \
  --url https://api.eflow.team/v1/networks/custom/scrubrate \
  --header 'Content-Type: application/json' \
  --header 'X-Eflow-Api-Key: <api-key>' \
  --data '
{
  "network_offer_id": 100,
  "network_affiliate_id": 200,
  "custom_setting_status": "active",
  "scrub_rate": 10
}
'
{
  "network_custom_scrub_rate_setting_id": 123,
  "network_id": 123,
  "network_offer_id": 123,
  "network_affiliate_id": 123,
  "custom_setting_status": "active",
  "scrub_rate": 123,
  "time_created": 123,
  "time_saved": 123,
  "relationship": {
    "offer": {},
    "affiliate": {}
  }
}

Authorizations

X-Eflow-Api-Key
string
header
required

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

Body

application/json
network_offer_id
integer
required

Associated offer ID.

network_affiliate_id
integer
required

Associated affiliate ID.

custom_setting_status
enum<string>
required

Setting status.

Available options:
active,
inactive
scrub_rate
number<double>
required

Scrub rate percentage (0-100).

Response

200 - application/json

OK

network_custom_scrub_rate_setting_id
integer

Unique custom scrub rate setting ID.

network_id
integer

Network ID.

network_offer_id
integer

Associated offer ID.

network_affiliate_id
integer

Associated affiliate ID.

custom_setting_status
enum<string>

Setting status.

Available options:
active,
inactive
scrub_rate
number<double>

Scrub rate percentage (0-100).

time_created
integer

Unix timestamp of creation.

time_saved
integer

Unix timestamp of last update.

relationship
object