Skip to content

Update traffic source​

PUT
/api/traffic-sources/{id}

Authorizations​

ApiKeyHeader
Type
API Key (header: X-Api-Key)

Parameters​

Path Parameters

id*
Type
integer
Required

Request Body​

application/json
JSON
{
  
"name": "string",
  
"postback_url": "string",
  
"params_config": {
  
},
  
"traffic_loss": 0,
  
"postback_percent": 0,
  
"s2s_postback_mode": "string",
  
"payout_percent": 0,
  
"status_postback_relation": "string",
  
"group_id": 0
}

Responses​

Traffic source updated

application/json
JSON
{
  
"message": "string"
}

Playground​

Authorization
Variables
Key
Value
Body

Samples​

Powered by VitePress OpenAPI