Update affiliates the status

HTTP method

Endpoint

PATCH

/v1/batches/affiliates/{affiliate_ids}

Path parameters

Parameter

Description

affiliate_id

The unique id for the affiliate.

status

The modified status of the advertiser. Possible Values: active·blocked·deleted

Note:The limit of bulk adjustment is 100 affiliates.

Response body parameters

Field

Type

Description

id

integer

A string that uniquely identifies this affiliate.

status

string

The modified status of the advertiser. Possible Values: active·blocked·deleted

Example request

Request PATCH https://{networkname}.api.offerslook.com/v1/batches/affiliates/74,80,85?status=deleted

Request PATCH http://{networkname}.api.offerslook.com/v1/batches/affiliates/74,80,85?status=deleted

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "affiliate": [
          {
            "affiliate_id": 74,
            "status": "deleted"
          },
          {
            "affiliate_id": 80,
            "status": "deleted"
          },
          {
            "affiliate_id": 85,
            "status": "deleted"
          }
        ]
      }
    }

Last updated