Delete an offer pool of the offer

HTTP method

Endpoint

DELETE

/v1/offers/{offer_id}/offer_pools/{pool_id}

Path parameters

Parameter

Description

offer_id

The unique id for the offer.

pool_id

The unique id for the pool.

Response body parameters

Field

Type

Description

offer_id

integer

Offer id.

pool_id

integer

Pool id.

create_time

integer

Create time.

Example request

Request DELETE https://{networkname}.api.offerslook.com/v1/offers/17/offer_pools/3

Request DELETE http://{networkname}.api.offerslook.com/v1/offers/17/offer_pools/3

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_pool": [
          {
            "pool_id": 1,
            "offer_id": 17,
            "create_time": 1467874340
          },
          {
            "pool_id": 4,
            "offer_id": 17,
            "create_time": 1467874340
          },
          {
            "pool_id": 5,
            "offer_id": 17,
            "create_time": 1467874340
          },
          {
            "pool_id": 6,
            "offer_id": 17,
            "create_time": 1467874340
          }
        ]
      }
    }

Last updated