Change the settings for an affiliate ‘s status
HTTP method | Endpoint |
PATCH | /v1/affiliates/{affiliate_id} |
Path parameters
Parameter | Description |
affiliate_id | The unique id for the affiliate. |
status | Status Can choose is active·blocked·deleted. |
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. |
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. |
Example request
Request PATCH https://{networkname}.api.offerslook.com/v1/affiliates/4867?status=active
Request PATCH http://{networkname}.api.offerslook.com/v1/affiliates/4867?status=active
Example response
Last updated