Generate Affiliate Tracking Link
GET/affiliates/:affiliateId/link
Generates an affiliate tracking link for the specified affiliate.
When the affiliate ID is set to 0, the endpoint uses the default test affiliate for the account.
Optional parameters allow for test link generation, custom URLs, and marketing asset association.
Rate limit: 300 requests per minute per account and credential type, shared across all read endpoints. Exceeding it returns 429 with a Retry-After header.
Request
Responses
- 200
- 400
- 401
- 404
- 422
- 429
- 500
Affiliate link generated successfully
Invalid parameter format
Authentication required
Resource not found
Validation error
Rate limit: 300 requests per minute per account and credential type, shared across all read endpoints. Exceeding it returns 429 with a Retry-After header.
Internal server error