Add affiliates to tier

HTTP method

Endpoint

POST

/v1/offer_payout_tiers/{tier_id}/affiliates/{affiliate_ids}

Path parameters

Parameter

Description

tier_id

The unique id for the offer payout tier.

affiliate_ids

The unique id for the affiliate.

Response body parameters

Field

Type

Description

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/27/affiliates/3,4,5,6

Request POST http://{networkname}.api.offerslook.com/v1/offer_payout_tiers/27/affiliates/3,4,5,6

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_payout_tier_affiliate": [
          {
            "tier_id": 27,
            "affiliate_id": 3
          },
          {
            "tier_id": 27,
            "affiliate_id": 4
          },
          {
            "tier_id": 27,
            "affiliate_id": 5
          },
          {
            "tier_id": 27,
            "affiliate_id": 6
          }
        ]
      }
    }

Last updated