Skip to main content
PUT
Update affiliate access

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.

Path Parameters

offer_id
integer
required

Offer ID.

Body

application/json
visible_type
integer

1=private, 2=public.

allowed_affiliates
string

Comma-separated affiliate IDs.

denied_affiliates
string

Comma-separated affiliate IDs.

ask_approval_questions
enum<integer>
Available options:
0,
1
questions
string

Response

Affiliate access updated.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string