cURL
curl --request PUT \ --url https://www.pushlapgrowth.com/api/v1/links \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "link": "<string>", "newLink": "<string>" }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "link": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "affiliate": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "email": "[email protected]" }, "program": { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "currency": "<string>" }, "clicks": 123, "referrals": 123, "sales": 123, "totalRevenue": 123, "fullURLs": [ { "baseUrl": "<string>", "fullUrl": "<string>" } ] }
Updates an affiliate link based on their ID or link string
Show child attributes