Update offers the status

HTTP method

Endpoint

PATCH

/v1/batches/offers/{offer_ids}

Path parameters

Parameter

Description

offer_id

The unique id for the offer.

status

The modified status of the offer. Possible Values: active·paused·pending·deleted

Note:The limit of bulk adjustment is 100 offers.

Response body parameters

Field

Type

Description

id

integer

The unique id for the offer.

status

string

The modified status of the offer. Possible Values: active·paused·pending·deleted

Example request

Request PATCH https://{networkname}.api.offerslook.com/v1/batches/offers/14354,14356,14359?status=paused

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer": [
          {
            "offer_id": 14354,
            "status": "paused"
          },
          {
            "offer_id": 14356,
            "status": "paused"
          },
          {
            "offer_id": 14359,
            "status": "paused"
          }
        ]
      }
    }

Last updated