Skip to main content
PUT
Set Offer Visibility
Update the visibility settings for a specific offer. This operation completely overwrites the existing visibility settings for the specified set type. Provide the list of affiliate IDs and the visibility type (visible or hidden).

Authorizations

X-Eflow-Api-Key
string
header
required

The Everflow API key generated from the Control Center > Security.

Path Parameters

offerId
integer
required

The offer ID.

Body

application/json
network_affiliate_ids
integer[]
required

List of affiliate IDs whose visibility will be set to the target set_type.

set_type
enum<string>
required

The type of visibility to apply to the specified affiliates. Values are visible, hidden, and rejected.

Available options:
visible,
hidden,
rejected

Response

200 - application/json
network_id
integer

Network ID.

network_offer_id
integer

Offer ID.

network_affiliate_visible_ids
integer[]

Updated list of affiliate IDs with visible access.

network_affiliate_rejected_ids
integer[]

Updated list of affiliate IDs with rejected access.

network_affiliate_hidden_ids
integer[]

Updated list of affiliate IDs with hidden access.