Update Postback

HTTP method

Endpoint

PUT

/aff/v1/offer_postbacks/{postback_id}

Path parameters

Parameter

Description

postback_id

The unique id for the affiliate postback.

Request body parameters

Field

Type

Description

Nullable

code

string

Must be URL format.

No

Tracking Parameters

{click_id}

{offer_id}

{event_id}

{country_id}

{aff_id}

{adv_id}

{adv_sub1}

{adv_sub2}

{adv_sub3}

{aff_sub1}

{aff_sub2}

{aff_sub3}

{aff_sub4}

{aff_sub5}

{source_id}

{agent}

{click_time}

{payout}

{referer}

{accept_lan}

{ip}

{unique_click}

{currency}

{ios_idfa}

{android_id}

{google_aid}

{conversion_ip}

{amount}

Response body parameters

Field

Type

Description

id

integer

Affiliate postback id.

offer_id

integer

Offer id.

affiliate_id

integer

Affiliaite id

event_id

integer

Event id.

code

string

Code.

status

string

Status of Postback. Pending; Approved; rejected

type

string

Type of code. 0: Global Postback 1:Image Pixel; 2:Postback URL; 3:HTML Pixel

create_time

integer

Create time.

update_time

integer

Update time.

Example request

Request PUT https://{networkname}.api.offerslook.com/aff/v1/offer_postbacks/51

Request PUT http://{networkname}.api.offerslook.com/aff/v1/offer_postbacks/51

    {
      "code": "https://offerslook.gitbooks.io/api-documentation/content/index.html"
    }

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "affiliate_postback": {
          "id": 51,
          "offer_id": 5,
          "affiliate_id": 161,
          "event_id": 1,
          "type": 2,
          "code": "https://offerslook.gitbooks.io/api-documentation/content/index.html",
          "status": "pending",
          "create_time": 1467777333,
          "update_time": 1467793650
        }
      }
    }

Last updated