🔗 Book AffiliateLink

update or remove the affiliateLink for a book.

Authorization

🔐 Private API Key

Update or clear the affiliateLink for a given 📖 Book.

⚠️

Setting the affiliateLink at the book level propagates to every region-level affiliateLink for this book. Any region that does not have its own affiliateLink override will inherit this book-level value. To set a region-specific override, use the 🔗 BookRegion AffiliateLink endpoint.

💡

Affiliate Links can also be managed in the SharpSports dashboard under BetSync > Settings > Book Settings.

Update affiliateLink

Issue a POST to /books/{id}/affiliateLink with the new link in the request body:

{
  "affiliateLink": "https://example.com/affiliate?ref=abc123"
}

The response echoes the saved value.

Delete affiliateLink

Issue a DELETE to /books/{id}/affiliateLink to clear the link. The response will return {"affiliateLink": null}.

Path Params
string
required

the SharpSports BookId (e.g. BOOK_xxx)

Body Params
string
required
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json