🔗 BookRegion AffiliateLink

update or remove the affiliateLink for a bookRegion.

Authorization

🔐 Private API Key

Update or clear the affiliateLink for a given 📖 BookRegion. A region-level affiliateLink overrides the book-level 🔗 Book AffiliateLink for this specific region.

💡

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

Update affiliateLink

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

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

The response echoes the saved value.

Delete affiliateLink

Issue a DELETE to /bookRegions/{id}/affiliateLink to clear the override. The response will return {"affiliateLink": null}. After deletion, the region will fall back to the book-level affiliateLink (if one is set).

Path Params
string
required

the SharpSports BookRegionId (e.g. BRGN_xxx or BSTA_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