This documentation site is deprecated. The latest up-to-date API reference is available at
This site will remain available for historical reference until June 1, 2017

API: Referral Codes

Validating Referral Codes via the API

You can verify if a referral code is valid using the validate method. This method is useful for validating referral codes that are entered by a customer.


URL: https://<subdomain><format>?code=<referral_code>
Method: GET
Required Parameters: code
Response: If the referral code is valid the status code will be 200 and the referral code will be returned. If the referral code is invalid, a 404 response will be returnd.