v1

latestOpenAPI 3.0.32026-07-2226694862.5 KB
Offer URLs

Bulk Create Offer URLs

post/networks/offerurls/bulk

Request body

network_offer_idinteger required

The ID of the offer to which this offer URL is associated.

namestring required

The name of the offer URL.

destination_urlstring required

The URL the offer URL will redirect to.

preview_urlstring

A preview URL, if it exists.

url_status'active' | 'paused' | 'deleted'

Status of the offer URL setting.

is_apply_specific_affiliatesboolean required

Determines whether this offer URL applies to all affiliates or only to a select few. When true, the network_affiliate_ids array must be filled.

network_affiliate_idsinteger[]

The IDs of the affiliates that are to be affected by the offer URL. Only relevant when is_apply_specific_affiliates is true.

is_hidden_affiliateboolean required

Determines whether affiliates will see this offer URL or not in the affiliate UI / API.

Response

Example response

{
  "urls": [
    {
      "time_created": 1734455015,
      "time_saved": 1734455015,
      "remote_offer_resource": {
        "time_created": 1734455015,
        "time_saved": 1734455015
      }
    }
  ]
}