Get all information about a specific affiliate

HTTP method

Endpoint

GET

GET/v1/affiliates/{affiliate_id}/all

Path parameters

Parameter

Description

affiliate_id

The unique id for the affiliate.

Response body parameters

Field

Type

Description

affiliate

id

integer

A string that uniquely identifies this affiliate.

first_name

string

The first_name of the this affiliate.

last_name

string

The last_name of the this affiliate.

email

string

The email of the this affiliate.

company

string

The company of the this affiliate.

country

string

The country of the affiliate’s physical address.

status

string

Affiliate's status.

instant_message_account

string

Instant message account.

instant_message_type

integer

Types of instant message.

manager_id

integer

Manager id.

phone

string

The phone number of the affiliate.

website

string

create_time

integer

Create time.

affiliate_tag

id

integer

A string that uniquely identifies this tag.

affiliate_id

integer

A string that uniquely identifies this affiliate.

name

string

Tag name

Example request

Request GET https://{networkname}.api.offerslook.com/v1/affiliates/4866/all

Request GET http://{networkname}.api.offerslook.com/v1/affiliates/4866/all

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "affiliate_tag": [
          {
            "id": 21,
            "name": "Other",
            "affiliate_id": 4866
          },
          {
            "id": 22,
            "name": "FOOD",
            "affiliate_id": 4866
          }
        ],
        "affiliate": {
          "id": 4866,
          "email": "test@test.com",
          "first_name": "affiliate",
          "last_name": "test",
          "country": "Asia/Pacific Region",
          "status": "active",
          "website": "http://www.offerslook.com",
          "create_time": 1458650346,
          "company": "UC Union",
          "phone": "11122223333",
          "manager_id": 7,
          "instant_message_type": 3,
          "instant_message_account": "test@facebook.com"
        }
      }
    }

Last updated