Add offer pool to offer

HTTP method Endpoint
PUT /v1/offers/{offer_id}/offer_pools/{pool_ids}

Path parameters

Parameter Description
offer_id The unique id for the offer.
pool_ids The unique id for the offer 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 PUT https://{networkname}.api.offerslook.com/v1/offers/17/offer_pools/1,4,5,6,3


Request PUT http://{networkname}.api.offerslook.com/v1/offers/17/offer_pools/1,4,5,6,3


Example response


    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_pool": [
          {
            "pool_id": 1,
            "offer_id": 17,
            "create_time": 1467874340
          },
          {
            "pool_id": 3,
            "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
          }
        ]
      }
    }

results matching ""

    No results matching ""