Update the Offer's Hide Referrals

HTTP method

Endpoint

PUT

/v1/batches/ offer_hide_referrals

Request body parameters

Parameter

Type

Description

offer_ids

array

The unique id for the offer.

hide_referral

integer

0=Default 1=Enabled, 2=Disabled

Note:The limit of bulk adjustment is 100 offers.

Response body parameters

Field

Type

Description

data

array

The unique id for the offer.

Example request

Request PUT https://{networkname}.api.offerslook.com/v1/batches/offer_hide_referrals

Request PUT http://{networkname}.api.offerslook.com/v1/batches/offer_hide_referrals

{
    "hide_referral":1,
    "offer_ids":[35788,35789,35790]

}

Example response

{
    "code": 0,
    "message": "Success",
    "data": [
        35788,
        35789,
        35790
    ]
}

Last updated