Update affiliate link
Updates the specified affiliate link by setting the values of the parameters passed.
Keep in mind that when you change a link's token, the previous token will immediately stop tracking visits. If this is a concern, considering creating a new affiliate link rather than updating existing links.
Method | URL |
PUT | https://api.getrewardful.com/v1/affiliate_links/:id |
Parameter | Required? | Description |
---|---|---|
token | Yes | The new token to be used for the link. |
curl --request PUT \
--url https://api.getrewardful.com/v1/affiliate_links/d0ed8392-8880-4f39-8715-60230f9eceab \
-u YOUR_API_SECRET: \
-d token=darth-vader
Success
Failures
Response code | Body |
---|---|
200 |
Last modified 11mo ago