Create a new affiliate
HTTP method | Endpoint |
POST | /v1/affiliates |
Request body parameters
Field | Type | Description | Nullable | ||
affiliate | |||||
first_name | string | The first_name of the this affiliate. | No | ||
last_name | string | The last_name of the this affiliate. | No | ||
string | The email of the this affiliate. | No | |||
company | string | The company of the this affiliate. | No | ||
country | string | The country of the affiliate’s physical address. | |||
status | string | The status of the affiliate and only fill the active when create . Default active Allowed values when update: active ; blocked ; deleted | |||
instant_message_account | string | Instant message account. | |||
instant_message_type | integer | Types of instant message. Allowed values: 0 Other; 1 Skype; 2 Gtalk; 3 QQ; 4 Yahoo; 5 Facebook; 6 WeChat; 7 Twitter | |||
manager_id | integer | Manager id | No | ||
phone | string | The phone number of the affiliate. | |||
website | string | ||||
password | string | Password | No | ||
affiliate_tag | |||||
name | string | Tag name. |
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. | |
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 POST https://{networkname}.api.offerslook.com/v1/affiliates
Request POST http://{networkname}.api.offerslook.com/v1/affiliates
Example response
Last updated