Skip to main content
PATCH
Update an affiliate

Authorizations

Authorization
string
header
required

Workspace API key, e.g. sa_live_…. Scopes: read / write / track / *.

Path Parameters

id
string<uuid>
required

Body

application/json
status
enum<string>

New status for the affiliate. active is the only approved-and-earning status. blocked is a deprecated alias the API maps to suspended.

Available options:
active,
pending,
suspended,
rejected,
banned,
archived,
blocked
name
string
Example:

"Jane Promoter"

email
string<email>

Response

Updated affiliate

object
string
Example:

"affiliate"

data
object