Update an offer payout tier

HTTP method

Endpoint

PUT

/v1/offer_payout_tiers/{tier_id}

Path parameters

Parameter

Description

tier_id

The unique id for the offer payout tier.

Request body parameters

Field

Type

Description

Nullable

offer_payout_tier

name

string

Offer pool name.

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 PUT https://{networkname}.api.offerslook.com/v1/offer_payout_tiers/27

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

    {
      "offer_payout_tier": {
        "name": "test",
        "description": "Update this offer payout tier."
      },
      "offer_payout_tier_affiliate": {
        "affiliate_id": [
          7,
          8
        ]
      }
    }

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_payout_tier": {
          "id": 27,
          "name": "test",
          "description": "Update this offer payout tier.",
          "create_time": 1467795896,
          "update_time": 1467797008
        },
        "offer_payout_tier_affiliate": [
          {
            "tier_id": 27,
            "affiliate_id": 7
          }
        ]
      }
    }

Last updated