Add offers to pool

HTTP method

Endpoint

POST

/v1/offer_pools/{pool_id}/offers/{offer_ids}

Path parameters

Parameter

Description

pool_id

The unique id for the offer pool.

offer_ids

The unique id for the offer.

Response body parameters

Field

Type

Description

pool_id

integer

The unique id for the offer pool.

offer_id

integer

The unique id for the offer.

create_time

integer

Create time.

Example request

Request POST https://{networkname}.api.offerslook.com/v1/offer_pools/8/offers/17,18,19

Request POST http://{networkname}.api.offerslook.com/v1/offer_pools/8/offers/17,18,19

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "pool_offer": [
          {
            "pool_id": 8,
            "offer_id": 17,
            "create_time": 1467362439
          },
          {
            "pool_id": 8,
            "offer_id": 18,
            "create_time": 1467362439
          },
          {
            "pool_id": 8,
            "offer_id": 19,
            "create_time": 1467362439
          }
        ]
      }
    }

Last updated