Update the settings for an affiliate’s current payout
HTTP method
Endpoint
PATCH
/v1/affiliate_payouts/{affiliate_payout_id}
Path parameters
Parameter
Description
affiliate_payout_id
The unique id for the payout.
current_payout
The current payout for the payout.
percent_payout
The percent payout for the payout.
Response body parameters
Field
Type
Description
id
integer
payout_id
offer_id
integer
affiliate_id
integer
event_id
integer
Event id.
current_payout
string
Payout
percent_payout
string
Percent payout
create_time
string
Creat time.
Example request
Request PATCH https://{networkname}.api.offerslook.com/v1/affiliate_payouts/100?current_payout=89
Request PATCH http://{networkname}.api.offerslook.com/v1/affiliate_payouts/100?current_payout=89
Example response
{
"code": 0,
"message": "Success",
"data": {
"affiliate_payout": {
"id": 100,
"offer_id": 1,
"affiliate_id": 4970,
"event_id": 1,
"current_payout": "89",
"percent_payout": "-1",
"create_time": 1460427520
}
}
}
Last updated
Was this helpful?