Skip to main content
PUT
Update affiliate profile

Authorizations

X-API-Key
string
header
required

Preferred authentication method. Pass the API key in the X-API-Key HTTP request header. The user account must have api_status enabled.

Body

application/json
company
string
firstname
string
lastname
string
password
string

New password. Repeating consecutive characters are allowed.

phone
string
messenger
string

Messenger handle/contact.

address
string
city
string
country
string
postcode
string
timezone
string

IANA timezone. Refused with 422 while the platform has turned "Can change Timezone" off and the value differs from the stored one; only a manager can change it then (SCL-11174).

api_whitelist
string

SCL-12694. Full-replace of the affiliate's API IP whitelist. Comma-separated IPv4 / IPv6 / CIDR. Empty string clears all entries. Invalid entries return 422 with per-entry errors and nothing is persisted.

Example:

"203.0.113.10, 203.0.113.0/24"

Response

Updated profile.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string
info
object