Update a new Offer URLS

HTTP method Endpoint
PUT /v1/offers/{offer_id}/offer_urls/{offer_url_id}

Path parameters

Parameter Description
offer_id The unique id for the offer.
offer_url_id The unique id for the offer url.

Request body parameters

Field Type Description Nullable
destination_url string The default Offer URL where traffic will be redirected to. Several optional variables/macros can be included in an Offer URL. No
name string The name of the this multiple No
preview_url string URL that often skips any geo-targeting or other re-targeting implemented by the Offer URL. Allows Affiliates to view sample landing page. No

Response body parameters

Field Type Description
id integer The unique id for the offer urls.
status string The status of the Offer. Allowed values: active·deleted.
name string The name of the this multiple
destination_url string The default Offer URL where traffic will be redirected to. Several optional variables/macros can be included in an Offer URL.
preview_url array URL that often skips any geo-targeting or other re-targeting implemented by the Offer URL. Allows Affiliates to view sample landing page.
create_time integer Create time.
update_time integer Update time.

Example request

Request PUT https://{networkname}.api.offerslook.com/v1/offers/40241/offer_urls/9


Request PUT http://{networkname}.api.offerslook.com/v1/offers/40241/offer_urls/9



    {
  "destination_url": "https://www.offerslook.com/",
  "name": "test1",
  "preview_url": "https://www.offerslook.com/"
}

Example response

{
    "code": 0,
    "message": "Success",
    "data": {
        "id": 9,
        "status": "Active",
        "name": "test1",
        "destination_url": "https://www.offerslook.com/",
        "preview_url": "https://www.offerslook.com/",
        "create_time": 1540279183,
        "update_time": 1540281217
    }
}

results matching ""

    No results matching ""