Application through

HTTP method

Endpoint

PATCH

/v1/offer_applications/{application_id}/approved

Path parameters

Parameter

Description

application_id

The unique id for the application.

Response body parameters

Field

Type

Description

id

integer

application_id

offer_id

integer

Offer id

affiliate_id

integer

Affiliate id

apply_time

string

Apply time.

accept_time

string

Accept time.

status

string

The status of the OfferApplication. There are three kinds of States: 1 pending ; 2 approved ; 3 rejected (You cannot delete actions in pending status

Example request

Request PATCH https://{networkname}.api.offerslook.com/v1/offer_applications/2198/approved

Request PATCH http://{networkname}.api.offerslook.com/v1/offer_applications/2198/approved

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "offer_application": {
          "id": 2198,
          "affiliate_id": 5075,
          "offer_id": 2789,
          "apply_time": 1461918094,
          "accept_time": 1461919027,
          "status": "approved"
        }
      }
    }

Last updated