OfferApplications

Operations for offer applications

Find All

GET /v1/networks/applications

Filters

This endpoint supports basic filtering. Refer to API filters page for usage.

Value Description
network_affiliate_id Filter based on the affiliate id
network_offer_id Filter based on the offer id
network_affiliate_user_id Filter based on the user id
application_status Filter based on the application status
time_created Filter based on the creation time
time_saved Filter based on the last update time

cURL
curl --request GET 'https://api.eflow.team/v1/networks/applications' \
--header 'X-Eflow-API-Key: <INSERT API KEY>'
Response
{
  "applications": [
    {
      "application_status": "approved",
      "network_affiliate_id": 1,
      "network_affiliate_user_id": 7,
      "network_application_id": 22,
      "network_id": 5,
      "network_offer_id": 38,
      "relationship": {
        "advertiser": {
          "account_status": "active",
          "name": "Test Adv 12-19",
          "network_advertiser_id": 9,
          "network_id": 5
        },
        "affiliate": {
          "account_executive_id": 39,
          "account_status": "active",
          "adress_id": 0,
          "default_currency_id": "USD",
          "enable_media_cost_tracking_links": true,
          "has_notifications": true,
          "internal_notes": "Fraud fraud fraud",
          "is_contact_address_enabled": false,
          "name": "Test Aff",
          "network_affiliate_id": 1,
          "network_employee_id": 101,
          "network_id": 5,
          "network_traffic_source_id": 39,
          "referrer_id": 90,
          "time_created": 1483607342,
          "time_saved": 1594850506
        },
        "offer": {
          "currency_id": "USD",
          "name": "Offer 38",
          "network_advertiser_id": 9,
          "network_id": 5,
          "network_offer_group_id": 0,
          "network_offer_id": 38,
          "network_tracking_domain_id": 8,
          "offer_status": "paused",
          "visibility": "require_approval"
        }
      },
      "time_created": 1496178429,
      "time_saved": 1496182703
    }
  ]
}


Patch

PATCH /v1/networks/networks/applications

patches object array

List of fields to patch. See here for the list of types and their corresponding values.

field_name string

Name of the field to patch. Use application_status to modify the status of the application and the offer visibility.

field_value string

Target value of the field to be patched. application_status target values are approved and rejected.

network_application_ids int array

List of the application ids you want to patch.

cURL
curl --request PATCH 'https://api.eflow.team/v1/networks/applications' \
--header 'X-Eflow-API-Key: <INSERT API KEY>' \
--header 'Content-Type: application/json' \
--data '<INSERT PAYLOAD>'
Request
{
  "network_application_ids": [
    148,
    170
  ],
  "patches": [
    {
      "field_name": "application_status",
      "field_value": "approved"
    }
  ],
  "send_email": false
}