v1

latestOpenAPI 3.0.12026-08-062532117.6 KB

Delete affiliate link

Permanently deletes an affiliate link, identified by either id or its link slug.

Clicks, referrals and sales already attributed to the link are kept — their link reference is simply cleared. Any referral URL using this slug stops tracking immediately. Fires the affiliate.updated webhook for the link's former owner.

delete/links

Request body

idstring uuid

The affiliate link to delete. Required unless link is supplied.

linkstring

The slug of the link to delete. Required unless id is supplied.

Response

The affiliate link was deleted.

messagestring

Confirmation message