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.

Request

Method

URL

PUT

https://api.getrewardful.com/v1/affiliate_links/:id

Parameters

ParameterRequired?Description

token

Yes

The new token to be used for the link.

Example

curl --request PUT \
  --url https://api.getrewardful.com/v1/affiliate_links/d0ed8392-8880-4f39-8715-60230f9eceab \
  -u YOUR_API_SECRET: \
  -d token=darth-vader

Response

Response codeBody

200

Last updated