Affiliates

Update a partner

Changing token renames the primary link; the old link stops attributing.

patch/affiliates/{id}

Request

  • Base URL: https://api.supersendtx.com
  • URL: https://api.supersendtx.com/affiliates/{id}
  • Auth: HTTP bearer

Request body

first_namestring nullable
last_namestring nullable
companystring nullable
websitestring nullable
countrystring nullable
notesstring nullable
tagsstring[]
campaign_idstring

Move to another campaign; new commissions use its rates

parent_affiliate_idstring nullable
postback_urlstring uri nullable

Receives this partner's referral.* and commission.* events as JSON POSTs

email_opt_outboolean
tokenstring

Rename the primary link token

Response

Updated partner

Example response

{
  "affiliate": {
    "links": [
      {
        "token": "jane",
        "url": "https://acme.com/?via=jane"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.