Add a new browser for offer

HTTP method

Endpoint

POST

/v1/offers/{offer_id}/browser

Path parameters

Parameter

Description

offer_id

The unique id for the offer.

Request body parameters

Field

Type

Description

Nullable

name

string

Browser to be targeted If not selected, by default it allows all Browser.

No

Response body parameters

Field

Type

Description

id

integer

offer_id

integer

A string that uniquely identifies this offer.

browser

string

Browser to be targeted

Example request

Request POST https://{networkname}.api.offerslook.com/v1/offers/544478/browser

Request POST http://{networkname}.api.offerslook.com/v1/offers/544478/browser

{
    "browsers":["Chrome","360 Browser","Amaya"]
}

Example response

{
    "code": 0,
    "message": "Success",
    "data": {
        "offer_browser": [
            {
                "id": 9,
                "offer_id": 544478,
                "browser_name": "Chrome"
            },
            {
                "id": 10,
                "offer_id": 544478,
                "browser_name": "360 Browser"
            },
            {
                "id": 11,
                "offer_id": 544478,
                "browser_name": "Amaya"
            }
        ]
    }
}

Last updated