Get Affiliate

GET /a/affiliates/{affiliateId}

Fetch one affiliate by ID, including address and account manager.

Authentication

Domain ID — your network's tenant ID (header: X-Domain-Id)

API Key (header: X-Api-Key)

Secret Key (header: X-Api-Secret)

No API key yet? Start a 14-day free trial and generate a key from your dashboard's security settings. No credit card required.

Parameters

NameInTypeRequiredDescription
affiliateIdpathintegerYes

Responses

StatusDescription
200Affiliate fetched
404Affiliate not found

Response fields (inside data)

FieldTypeDescription
affiliateIdinteger
firstNamestring
lastNamestring
emailstringAlso the portal login (stored lower-case).
companystring
statusstring (ACTIVE | PENDING | REJECTED)Account status.
phonestring
websitestring
affiliateAccountManagerIdintegerEmployee who manages this affiliate.
signupCountrystringCountry detected at sign-up.
addressobject
address.address1string
address.address2string
address.citystring
address.statestring
address.countrystring
address.postcodestring
parentAffiliateIdintegerAffiliate who referred this one (sub-affiliate program).
referralCodestringCode this affiliate shares to refer others.
trafficPlatformstringMain traffic source the affiliate declared.
apiEnabledbooleanWhether the affiliate may use the Affiliate API.
createdAtstringY-m-d H:i:s
updatedAtstringY-m-d H:i:s