Update the settings for an offer’s status

HTTP method Endpoint
PATCH /v1/offers/{offer_ids}

Path parameters

Parameter Description
offer_id The unique id for the offer.
status Status Can choose is active·paused·pending·deleted.

Note:The limit of bulk adjustment is 20 offers.

Response body parameters

Field Type Description
id integer A string that uniquely identifies this offer.
status string The modified status of the offer.

Example request

Request PATCH https://{networkname}.api.offerslook.com/v1/offers/19,20,21,22?status=paused


Request PATCH http://{networkname}.api.offerslook.com/v1/offers/19,20,21,22?status=paused


Example response


    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer": [
          {
            "offer_id": 19,
            "status": "active"
          },
          {
            "offer_id": 20,
            "status": "active"
          },
          {
            "offer_id": 21,
            "status": "active"
          },
          {
            "offer_id": 22,
            "status": "active"
          }
        ]
      }
    }

results matching ""

    No results matching ""