Referral links/Id
/referral-links/:id
This endpoint allows you to update an existing referral link by providing the necessary details.
Request Body
Response
The response for this request is an empty array with a 200 HTTP Code
PUT
/referral-links/{id}
Authorization
Authorization
RequiredBearer <token>In: header
Request Body
application/json
OptionalPath Parameters
id
RequiredstringResponse Body
Successful response
curl -X PUT "https://api.nodiref.com/referral-links/9ebf1864-aca2-40c4-9cc6-0ed9ae961e01" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"partner_id": "9ebf1841-22c4-4d30-942e-7c7eb942a7a3",
"code": "abcdefgghijklmnop",
"target_url": "https://nodifyit.com"
}'
Empty