affiliate
PATCH /admin/affiliates/{id}
Request
- Base URLhttps://api.goaffpro.com/v1
- URLhttps://api.goaffpro.com/v1/admin/affiliates/{id}
- AuthAPI key in header x-goaffpro-access-token
Request body
Response
unknown required
Example response
{
"password": "new-password",
"honorific": "Mr",
"name": "John Doe",
"gender": "Male",
"date_of_birth": "28 June 1988",
"phone": "+1 555 (1220) 1212",
"company_name": "Acme Inc!",
"commission": {
"type": "percentage",
"amount": "10"
},
"ref_code": "refferralcode",
"coupon": {
"code": "ABC",
"discount_type": "percentage",
"discount_value": 10
},
"address_1": "Address line 1",
"address_2": "Address line 2",
"city": "City",
"state": "State or Province",
"zip": "10011",
"country": "US",
"facebook": "fb",
"instagram": "instagram handle",
"twitter": "twitter handle",
"snapchat": "snapchat username",
"pinterest": "pinterest username",
"tax_identification_number": "111-2222-333",
"paypal_email": "jdoe@paypal.com",
"status": "approved",
"parent_email": "abc@xyz.com",
"profile_photo": "https://example.com/profile.jpg"
}Changes
No recorded changes to this operation across all 7 revisions of this API.