Approve apply

Path parameters

Response body parameters

Example request

Request PATCH https://{networkname}.api.offerslook.com/v1/pending_affiliates/24/approved?manager_id=1

Request PATCH http://{networkname}.api.offerslook.com/v1/pending_affiliates/24/approved?manager_id=1

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "affiliate": {
          "id": 5380,
          "email": "test@test.com",
          "first_name": "test",
          "last_name": "test",
          "country": "Aland",
          "status": "active",
          "website": "http://test.com",
          "create_time": 1474185755,
          "company": "test",
          "phone": "1111",
          "manager_id": 1,
          "instant_message_type": 0,
          "instant_message_account": "test"
        },
        "pending_affiliate": {
          "id": 24,
          "email": "test@test.com",
          "first_name": "test",
          "last_name": "test",
          "instant_message_type": 0,
          "instant_message_account": "test",
          "phone": "123456789",
          "country": "Aland",
          "status": "approved",
          "website": "http://test.com",
          "create_time": 1474185755,
          "company": "test"
        }
      }
    }

Last updated