Update an offer pool

Path parameters

Request body parameters

Response body parameters

Example request

Request PUT https://{networkname}.api.offerslook.com/v1/offer_pools/8

Request PUT http://{networkname}.api.offerslook.com/v1/offer_pools/8

    {
      "offer_pool": {
        "name": "Test Demo",
        "status": "active",
        "note": "Update this offer pool !"
      },
      "pool_offer": {
        "offer_id": [
          17,
          18,
          19
        ]
      }
    }

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "pool_offer": [
          {
            "pool_id": 8,
            "offer_id": 17,
            "create_time": 1468461607
          },
          {
            "pool_id": 8,
            "offer_id": 18,
            "create_time": 1468461607
          },
          {
            "pool_id": 8,
            "offer_id": 19,
            "create_time": 1468461607
          }
        ],
        "offer_pool": {
          "id": 8,
          "name": "Test Demo",
          "status": "active",
          "note": "Update this offer pool !",
          "create_time": 1468461517,
          "update_time": 1468461607
        }
      }
    }

Last updated