New Affiliate
POST/affiliate/new
deprecated
This endpoint has been deprecated and may be replaced or removed in future versions of the API.
Create a new affiliate. Returns the affiliate ID and their referral link.
Tip: When creating affilates using this endpoint, we recommend that you save the id from the response in order to map your user to their affiliate account in Refersion.
Request
Responses
- 200
- 204
- 400
- 401
- 404
- 422
Theres an invalid field in the request
Theres a missing required field in your request.
Unauthorized – Your API keys are incorrect.
An empty request body.
Unprocessable Entity – The data that you’re sending has errors.