Create an offer payout tier

HTTP method

Endpoint

POST

/v1/offer_payout_tiers

Request body parameters

Field

Type

Description

Nullable

offer_payout_tier

name

string

Offer pool name.

No

description

string

The offer payout tier description.

offer_payout_tier_affiliate

affiliate_id

list

Affiliate id.

Response body parameters

Field

Type

Description

offer_payout_tier

id

integer

Offer payout tier id.

name

string

Offer pool name.

description

string

The offer payout tier description.

create_time

integer

Create time.

update_time

integer

Update time.

offer_payout_tier_affiliate

tier_id

integer

Offer payout tier id.

affiliate_id

integer

Affiliate id.

Example request

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

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

    {
      "offer_payout_tier": {
        "name": "TEST",
        "description": "TEST Demo !"
      },
      "offer_payout_tier_affiliate": {
        "affiliate_id": [
          5,
          6,
          7
        ]
      }
    }

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_payout_tier": {
          "id": 27,
          "name": "TEST",
          "description": "TEST Demo !",
          "create_time": 1467795896,
          "update_time": 1467795896
        },
        "offer_payout_tier_affiliate": [
          {
            "tier_id": 27,
            "affiliate_id": 5
          },
          {
            "tier_id": 27,
            "affiliate_id": 6
          },
          {
            "tier_id": 27,
            "affiliate_id": 7
          }
        ]
      }
    }

Last updated