Add affiliates to an approved list of offer
HTTP method
Endpoint
POST
/v1/offers/{offer_id}/approved/{affiliate_ids}
Path parameters
Parameter
Description
offer_id
The unique id for the offer.
affiliate_ids
The unique id for the affiliate.Comma-separated list of affiliate_ids.
Note:The limit of bulk adjustment is 100 affiliate_ids.
Response body parameters
Field
Type
Description
id
integer
offer_id
integer
Offer id.
affiliate_id
integer
Affiliate id.
Example request
Request POST https://{networksname}.api.offerslook.com/v1/offers/2786/approved/40,50
Request POST http://{networksname}.api.offerslook.com/v1/offers/2786/approved/40,50
Example response
{
"code": 0,
"message": "Success",
"data": {
"offer_approved": [
{
"id": 4793,
"affiliate_id": 40,
"offer_id": 2786
},
{
"id": 4794,
"affiliate_id": 50,
"offer_id": 2786
}
]
}
}
Last updated
Was this helpful?