Skip to main content
PUT
Add 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
allowed_affiliates
string

Comma-separated affiliate IDs to add.

denied_affiliates
string

Comma-separated affiliate IDs to deny.

Response

Affiliate access added.

status
string
Example:

"success"

code
integer
Example:

200

name
string
Example:

"OK"

message
string