Add affiliates to an blocked list of offer

HTTP method

Endpoint

POST

/v1/offers/{offer_id}/blocked/{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://{networkname}.api.offerslook.com/v1/offers/2786/blocked/3007,1212

Request POST http://{networkname}.api.offerslook.com/v1/offers/2786/blocked/3007,1212

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_blocked": [
          {
            "id": 4793,
            "affiliate_id": 3007,
            "offer_id": 2786
          },
          {
            "id": 4794,
            "affiliate_id": 1212,
            "offer_id": 2786
          }
        ]
      }
    }

Last updated