affiliate

POST /admin/affiliates

Create a new affiliate

Request

  • Base URL
    https://api.goaffpro.com/v1
  • URL
    https://api.goaffpro.com/v1/admin/affiliates
  • Auth
    API key in header x-goaffpro-access-token

Request body

emailstring
passwordstring
password_expiredboolean

Prompts the affiliates to change password upon login

namestring
first_namestring
last_namestring
date_of_birthstring
honorificstring
genderstring
facebookstring
twitterstring
instagramstring
websitestring
citystring
statestring
countrystring
zipstring
phonestring
address_1string
address_2string
company_namestring
tax_identification_numberstring
extra_1string
extra_2string
extra_3string
ref_codestring
admin_notestring
personal_messagestring
commentsstring
updated_atstring
created_atstring
status'approved' | 'pending' | 'rejected'
parent_emailstring

Email address of the parent affiliate. Useful for building MLM hierarchies

Response

affiliate_idnumber

Changes

No recorded changes to this operation across all 7 revisions of this API.