Update Affiliate Link
Renames an affiliate link’s slug. Identify the link with either id or its current link slug, and give the new slug as newLink.
The new slug may contain only letters, numbers and hyphens, and must be unique within the program.
Renaming a slug breaks any referral URL already shared using the old slug — existing clicks, referrals and sales stay attached to the link, but new traffic on the old URL will not be tracked. Fires the affiliate.updated webhook for the link’s owner.
Requires links:write. This legacy endpoint uses the key’s original program and its existing response format.
Authorizations
Body
The rename to apply
Response
The updated affiliate link, with regenerated full URLs.
An affiliate link as returned by the affiliate link endpoints. The counters and fullURLs are computed per request and are not stored on the link itself.