Update affiliates’ own information

HTTP method

Endpoint

PUT

/aff/v1/affiliates

Request body parameters

Field

Type

Description

Nullable

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.

instant_message_account

string

Instant message account.

instant_message_type

integer

Types of instant message.

phone

string

The phone number of the affiliate.

website

string

Response body parameters

Field

Type

Description

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.

instant_message_account

string

Instant message account.

instant_message_type

integer

Types of instant message.

manager_id

integer

Affiliate’s manager id.

phone

string

The phone number of the affiliate.

website

string

create_time

integer

Create time.

Example request

Request PUT https://{networkname}.api.offerslook.com/aff/v1/affiliates

Request PUT http://{networkname}.api.offerslook.com/aff/v1/affiliates

    {
      "email": "test@test.com",
      "first_name": "test",
      "last_name": "test",
      "country": "Angola",
      "website": "http://www.offerslook.com",
      "company": "TEST",
      "phone": "",
      "instant_message_type": 0,
      "instant_message_account": "offerslook"
    }

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "affiliate": {
          "id": 4833,
          "email": "test@test.com",
          "first_name": "test",
          "last_name": "test",
          "country": "Angola",
          "website": "http://www.offerslook.com",
          "create_time": 1457353181,
          "company": "TEST",
          "phone": "",
          "manager_id": 1,
          "instant_message_type": 0,
          "instant_message_account": "offerslook"
        }
      }
    }

Last updated