v1
latestOpenAPI 3.0.12026-08-062532117.6 KBUpdate an 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.
put/links
Request body
Example request
{
"newLink": "winter-campaign"
}Response
The updated affiliate link, with regenerated full URLs.