Create an offer pool

HTTP method Endpoint
POST /v1/offer_pools

Request body parameters

Field Type Description Nullable
offer_pool
name string Offer pool name. No
status string The offer pool status.
note string The offer pool note.
pool_offer
offer_id integer Offer id.

Response body parameters

Field Type Description
offer_pool
id integer The unique id for the offer pool.
name string Offer pool name.
status string The offer pool status.
note string The offer pool note.
create_time integer Create time.
update_time integer Update time.
pool_offer
pool_id integer The unique id for the offer pool.
offer_id integer Offer id.
create_time integer Create time.

Example request

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


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



    {
      "offer_pool": {
        "name": "Test Demo",
        "status": "active",
        "note": "This is a test !"
      },
      "pool_offer": {
        "offer_id": [
          17,
          18,
          19
        ]
      }
    }

Example response


    {
      "code": 0,
      "message": "Success",
      "data": {
        "pool_offer": [
          {
            "pool_id": 8,
            "offer_id": 17,
            "create_time": 1468461517
          },
          {
            "pool_id": 8,
            "offer_id": 18,
            "create_time": 1468461517
          },
          {
            "pool_id": 8,
            "offer_id": 19,
            "create_time": 1468461517
          }
        ],
        "offer_pool": {
          "id": 8,
          "name": "Test Demo",
          "status": "active",
          "note": "This is a test !",
          "create_time": 1468461517,
          "update_time": 1468461517
        }
      }
    }

results matching ""

    No results matching ""