cURL
curl --request PUT \ --url https://api.eflow.team/v1/networks/offers/{offerId}/visibility \ --header 'Content-Type: application/json' \ --header 'X-Eflow-Api-Key: <api-key>' \ --data ' { "network_affiliate_ids": [ 7, 14 ], "set_type": "visible" } '
{ "network_id": 123, "network_offer_id": 123, "network_affiliate_visible_ids": [ 123 ], "network_affiliate_rejected_ids": [ 123 ], "network_affiliate_hidden_ids": [ 123 ] }
The Everflow API key generated from the Control Center > Security.
The offer ID.
List of affiliate IDs whose visibility will be set to the target set_type.
set_type
The type of visibility to apply to the specified affiliates. Values are visible, hidden, and rejected.
visible
hidden
rejected
Network ID.
Offer ID.
Updated list of affiliate IDs with visible access.
Updated list of affiliate IDs with rejected access.
Updated list of affiliate IDs with hidden access.
Was this page helpful?