Get information about a specific offer’s cap

HTTP method

Endpoint

GET

/aff/v1/offers/{offer_id}/caps

Path parameters

Parameter

Description

offer_id

The unique id for the offer.

NOTE: If category for the null that the cap is offer own cap information, not for the null is that the cap information for the affiliate on the offer (or the offer to affiliate) set by the cap information.

Response body parameters

Field

Type

Description

id

integer

offer_id

integer

A string that uniquely identifies this offer.

cap_budget

string

cap_click

integer

cap_type

integer

Cap type: 0 none 1 total_count 2 daily_count 3 total_budget

cap_conversion

integer

category

integer

Category type: 1 Shared 2 Private

cap_timezone

string

Time zone.

Example request

Request GET https://{networkname}.api.offerslook.com/aff/v1/offers/16/caps

Request GET http://{networkname}.api.offerslook.com/aff/v1/offers/16/caps

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_cap": {
          "id": 41,
          "offer_id": 16,
          "cap_type": 1,
          "cap_click": 33,
          "cap_conversion": 0,
          "cap_budget": "0",
          "category": 1,
          "cap_timezone": "Asia/Hong_Kong"
        }
      }
    }

Last updated