{"id":214,"date":"2017-09-18T19:07:39","date_gmt":"2017-09-18T17:07:39","guid":{"rendered":"https:\/\/www.affiliationsoftware.com\/page\/?p=214"},"modified":"2019-12-18T10:50:25","modified_gmt":"2019-12-18T09:50:25","slug":"api","status":"publish","type":"post","link":"https:\/\/www.affiliationsoftware.com\/page\/api\/","title":{"rendered":"AffiliationSoftware&#8217;s API"},"content":{"rendered":"<h2>AffiliationSoftware&#8217;s API<\/h2>\n<h4>AffiliationSoftware has an API (application programming interface) that allows developers to connect their affiliate program with their website and perform certain actions automatically. For example it is possibile to approve or decline the affiliates&#8217; commissions based on the order status, register an user to the affiliate program when he\/she register on your website, and much more!<\/h4>\n<hr class=\"divider\" \/>\n<h5>How to use the AffiliationSoftware&#8217;s API<\/h5>\n<p>The AffiliationSoftware&#8217;s API can only be called with POST requests and by using the PHP cURL function. The response of each call returns a message in JSON format. To make it work you just have to enable the plugin, then a page will appear containing the URL and the KEY you need to communicate with your affiliate program via API.<\/p>\n<pre>Admin Panel &gt; Settings &gt; API<\/pre>\n<p><a class=\"fancybox\" href=\"https:\/\/www.affiliationsoftware.com\/include\/img3\/en-api.png\"><img decoding=\"async\" class=\"alignnone\" src=\"https:\/\/www.affiliationsoftware.com\/include\/img3\/en-api.png\" alt=\"AffiliationSoftware's API\" \/><\/a><\/p>\n<hr class=\"divider\" \/>\n<h5>Transactions<\/h5>\n<p><strong>Read a transaction<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n\t'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n\t'afs_action' =&gt; 'transaction_read',\n\t'afs_transaction' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ transactionID or orderID<\/span>\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<p><strong>Change the status of a transaction<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n\t'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n\t'afs_action' =&gt; 'transaction_edit',\n\t'afs_transaction' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ transactionID or orderID<\/span>\n\t'afs_key' =&gt; 'status',\n\t'afs_value' =&gt; '1',\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<p><strong>Add a transaction<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n 'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n 'afs_action' =&gt; 'transaction_add',\n 'afs_affiliate' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ affiliateID, RefID or email<\/span>\n 'afs_campaign' =&gt; '1', <span style=\"color: #808000;\">\/\/ campaginID (optional)<\/span>\n 'afs_commission' =&gt; '119.95',\n 'afs_earn' =&gt; '299.95', <span style=\"color: #808000;\">\/\/ optional<\/span>\n 'afs_orderval' =&gt; '299.95', <span style=\"color: #808000;\">\/\/ optional<\/span>\n 'afs_orderid' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ optional<\/span>\n 'afs_type' =&gt; 's', <span style=\"color: #808000;\">\/\/ optional<\/span>\n 'afs_tier' =&gt; '1', <span style=\"color: #808000;\">\/\/ optional<\/span>\n 'afs_status' =&gt; '1', <span style=\"color: #808000;\">\/\/ optional<\/span>\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<p><strong>Delete a transaction<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n\t'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n\t'afs_action' =&gt; 'transaction_delete',\n\t'afs_transaction' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ transactionID or orderID<\/span>\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<hr class=\"divider\" \/>\n<h5>Affiliates<\/h5>\n<p><strong>Read an affiliate<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n\t'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n\t'afs_action' =&gt; 'affiliate_read',\n\t'afs_affiliate' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ affiliateID, RefID or email<\/span>\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<p><strong>Sign up \/ add an affiliate<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n\t'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n\t'afs_action' =&gt; 'affiliate_add',\n\t'afs_name' =&gt; 'Name Surname',\n\t'afs_email' =&gt; 'test@test.test',\n\t'afs_password' =&gt; 'test', <span style=\"color: #808000;\">\/\/ optional<\/span>\n\t'afs_lang' =&gt; 'en', <span style=\"color: #808000;\">\/\/ optional<\/span>\n\t'afs_refid' =&gt; '123', <span style=\"color: #808000;\">\/\/ optional<\/span>\n\t'afs_parent' =&gt; '', <span style=\"color: #808000;\">\/\/ optional<\/span>\n\t'afs_sendmail' =&gt; '1', <span style=\"color: #808000;\">\/\/ optional<\/span>\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<p><strong>Change the status of an affiliate<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n\t'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n\t'afs_action' =&gt; 'affiliate_edit',\n\t'afs_affiliate' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ affiliateID, RefID or email<\/span>\n\t'afs_key' =&gt; 'status',\n\t'afs_value' =&gt; '1',\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<p><strong>Delete an affiliate<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n\t'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n\t'afs_action' =&gt; 'affiliate_delete',\n\t'afs_affiliate' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ affiliateID, RefID or email<\/span>\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<p><strong>Pay an affiliate<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>'; \n$afs_data = array( \n\t'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>', \n\t'afs_action' =&gt; 'affiliate_pay',\n\t'afs_affiliate' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ affiliateID, RefID or email<\/span>\n); \n$afs_api = curl_init( $afs_url ); \ncurl_setopt( $afs_api, CURLOPT_POST, 1 ); \ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 ); \ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data ); \n$afs_res = curl_exec( $afs_api ); \ncurl_close( $afs_api ); \nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<hr class=\"divider\" \/>\n<h5>Websites<\/h5>\n<p><strong>Change the status of a website<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n\t'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n\t'afs_action' =&gt; 'website_edit',\n\t'afs_website' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ websiteID or URL<\/span>\n\t'afs_key' =&gt; 'status',\n\t'afs_value' =&gt; '1',\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<hr class=\"divider\" \/>\n<h5>Banners &amp; links<\/h5>\n<p><strong>Read a banner \/ link code<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n\t'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n\t'afs_action' =&gt; 'banner_read',\n\t'afs_affiliate' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ affiliateID, RefID or email<\/span>\n\t'afs_banner' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ bannerID<\/span>\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<hr class=\"divider\" \/>\n<h5>Campaigns<\/h5>\n<p><strong>Read a campaign&#8217;s details<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n\t'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n\t'afs_action' =&gt; 'campaign_read',\n\t'afs_campaign' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ campaignID<\/span>\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<p><strong>List of active campaigns<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n\t'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n\t'afs_action' =&gt; 'campaign_read',\n\t'afs_country' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ Country code\n<\/span>        'afs_limit' =&gt; '3', <span style=\"color: #808000;\">\/\/ how many (optional)<\/span>\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<hr class=\"divider\" \/>\n<h5>Statistics<\/h5>\n<p><strong>Read statistics and transactions<\/strong><\/p>\n<pre>$afs_url = '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_URL<\/span>';\n$afs_data = array(\n 'afs_apikey' =&gt; '<span style=\"color: #808000;\">AFFILIATIONSOFTWARE_API_KEY<\/span>',\n 'afs_action' =&gt; 'statistics_read',\n 'afs_from' =&gt; 'YYYY-MM-DD', <span style=\"color: #808000;\">\/\/ from date<\/span>\n 'afs_to' =&gt; 'YYYY-MM-DD', <span style=\"color: #808000;\">\/\/ to date<\/span>\n 'afs_affiliate' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ affiliateID, RefID or email (optional)<\/span>\n 'afs_campaign' =&gt; 'XXX', <span style=\"color: #808000;\">\/\/ campaignID (optional)<\/span>\n);\n$afs_api = curl_init( $afs_url );\ncurl_setopt( $afs_api, CURLOPT_POST, 1 );\ncurl_setopt( $afs_api, CURLOPT_RETURNTRANSFER, 1 );\ncurl_setopt( $afs_api, CURLOPT_POSTFIELDS, $afs_data );\n$afs_res = curl_exec( $afs_api );\ncurl_close( $afs_api );\nprint_r( json_decode( $afs_res, true ) );<\/pre>\n<hr class=\"divider\" \/>\n<h5>You may also be interested in:<\/h5>\n<ul>\n<li><a href=\"https:\/\/www.affiliationsoftware.com\/page\/affiliate-management-software\/\">How to manage your affiliate program<\/a><\/li>\n<li><a href=\"https:\/\/www.affiliationsoftware.com\/page\/commissions-setup\/\">How to set up affiliates&#8217; commissions<\/a><\/li>\n<li><a href=\"https:\/\/www.affiliationsoftware.com\/page\/commissions-types\/\">Types of commissions available<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>AffiliationSoftware&#8217;s API AffiliationSoftware has an API (application programming interface) that allows developers to connect their affiliate program with their website and perform certain actions automatically. For example it is possibile to approve or decline the affiliates&#8217; commissions based on the &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6],"tags":[24],"class_list":["post-214","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-api"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AffiliationSoftware&#039;s API - AffiliationSoftware.com<\/title>\n<meta name=\"description\" content=\"AffiliationSoftware&#039;s API AffiliationSoftware has an API (application programming interface) that allows developers to connect their affiliate program\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.affiliationsoftware.com\/page\/api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AffiliationSoftware&#039;s API - AffiliationSoftware.com\" \/>\n<meta property=\"og:description\" content=\"AffiliationSoftware&#039;s API AffiliationSoftware has an API (application programming interface) that allows developers to connect their affiliate program\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.affiliationsoftware.com\/page\/api\/\" \/>\n<meta property=\"og:site_name\" content=\"AffiliationSoftware.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/affiliationsoftware\" \/>\n<meta property=\"article:published_time\" content=\"2017-09-18T17:07:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-12-18T09:50:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.affiliationsoftware.com\/include\/img3\/en-api.png\" \/>\n<meta name=\"author\" content=\"AffiliationSoftware\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@affiliationsoft\" \/>\n<meta name=\"twitter:site\" content=\"@affiliationsoft\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"AffiliationSoftware\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/api\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/api\\\/\"},\"author\":{\"name\":\"AffiliationSoftware\",\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/#\\\/schema\\\/person\\\/4f411a107e497afcca83d9888c346321\"},\"headline\":\"AffiliationSoftware&#8217;s API\",\"datePublished\":\"2017-09-18T17:07:39+00:00\",\"dateModified\":\"2019-12-18T09:50:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/api\\\/\"},\"wordCount\":220,\"publisher\":{\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/include\\\/img3\\\/en-api.png\",\"keywords\":[\"api\"],\"articleSection\":[\"Documentation\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/api\\\/\",\"url\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/api\\\/\",\"name\":\"AffiliationSoftware's API - AffiliationSoftware.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/include\\\/img3\\\/en-api.png\",\"datePublished\":\"2017-09-18T17:07:39+00:00\",\"dateModified\":\"2019-12-18T09:50:25+00:00\",\"description\":\"AffiliationSoftware's API AffiliationSoftware has an API (application programming interface) that allows developers to connect their affiliate program\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/include\\\/img3\\\/en-api.png\",\"contentUrl\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/include\\\/img3\\\/en-api.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AffiliationSoftware&#8217;s API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/#website\",\"url\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/\",\"name\":\"AffiliationSoftware.com\",\"description\":\"Start your own Affiliate Program\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/#organization\",\"name\":\"AffiliationSoftware.com\",\"url\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/wp-content\\\/uploads\\\/logo-social.jpg\",\"contentUrl\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/wp-content\\\/uploads\\\/logo-social.jpg\",\"width\":250,\"height\":250,\"caption\":\"AffiliationSoftware.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/affiliationsoftware\",\"https:\\\/\\\/x.com\\\/affiliationsoft\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/affiliationsoftwarecom\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.affiliationsoftware.com\\\/page\\\/#\\\/schema\\\/person\\\/4f411a107e497afcca83d9888c346321\",\"name\":\"AffiliationSoftware\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/02ea3108a7792a4bfb3d89b37daa439f1d77e638b5bb522c2075b94a0a293310?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/02ea3108a7792a4bfb3d89b37daa439f1d77e638b5bb522c2075b94a0a293310?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/02ea3108a7792a4bfb3d89b37daa439f1d77e638b5bb522c2075b94a0a293310?s=96&d=mm&r=g\",\"caption\":\"AffiliationSoftware\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AffiliationSoftware's API - AffiliationSoftware.com","description":"AffiliationSoftware's API AffiliationSoftware has an API (application programming interface) that allows developers to connect their affiliate program","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.affiliationsoftware.com\/page\/api\/","og_locale":"en_US","og_type":"article","og_title":"AffiliationSoftware's API - AffiliationSoftware.com","og_description":"AffiliationSoftware's API AffiliationSoftware has an API (application programming interface) that allows developers to connect their affiliate program","og_url":"https:\/\/www.affiliationsoftware.com\/page\/api\/","og_site_name":"AffiliationSoftware.com","article_publisher":"https:\/\/www.facebook.com\/affiliationsoftware","article_published_time":"2017-09-18T17:07:39+00:00","article_modified_time":"2019-12-18T09:50:25+00:00","og_image":[{"url":"https:\/\/www.affiliationsoftware.com\/include\/img3\/en-api.png","type":"","width":"","height":""}],"author":"AffiliationSoftware","twitter_card":"summary_large_image","twitter_creator":"@affiliationsoft","twitter_site":"@affiliationsoft","twitter_misc":{"Written by":"AffiliationSoftware","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.affiliationsoftware.com\/page\/api\/#article","isPartOf":{"@id":"https:\/\/www.affiliationsoftware.com\/page\/api\/"},"author":{"name":"AffiliationSoftware","@id":"https:\/\/www.affiliationsoftware.com\/page\/#\/schema\/person\/4f411a107e497afcca83d9888c346321"},"headline":"AffiliationSoftware&#8217;s API","datePublished":"2017-09-18T17:07:39+00:00","dateModified":"2019-12-18T09:50:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.affiliationsoftware.com\/page\/api\/"},"wordCount":220,"publisher":{"@id":"https:\/\/www.affiliationsoftware.com\/page\/#organization"},"image":{"@id":"https:\/\/www.affiliationsoftware.com\/page\/api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.affiliationsoftware.com\/include\/img3\/en-api.png","keywords":["api"],"articleSection":["Documentation"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.affiliationsoftware.com\/page\/api\/","url":"https:\/\/www.affiliationsoftware.com\/page\/api\/","name":"AffiliationSoftware's API - AffiliationSoftware.com","isPartOf":{"@id":"https:\/\/www.affiliationsoftware.com\/page\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.affiliationsoftware.com\/page\/api\/#primaryimage"},"image":{"@id":"https:\/\/www.affiliationsoftware.com\/page\/api\/#primaryimage"},"thumbnailUrl":"https:\/\/www.affiliationsoftware.com\/include\/img3\/en-api.png","datePublished":"2017-09-18T17:07:39+00:00","dateModified":"2019-12-18T09:50:25+00:00","description":"AffiliationSoftware's API AffiliationSoftware has an API (application programming interface) that allows developers to connect their affiliate program","breadcrumb":{"@id":"https:\/\/www.affiliationsoftware.com\/page\/api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.affiliationsoftware.com\/page\/api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.affiliationsoftware.com\/page\/api\/#primaryimage","url":"https:\/\/www.affiliationsoftware.com\/include\/img3\/en-api.png","contentUrl":"https:\/\/www.affiliationsoftware.com\/include\/img3\/en-api.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.affiliationsoftware.com\/page\/api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.affiliationsoftware.com\/page\/"},{"@type":"ListItem","position":2,"name":"AffiliationSoftware&#8217;s API"}]},{"@type":"WebSite","@id":"https:\/\/www.affiliationsoftware.com\/page\/#website","url":"https:\/\/www.affiliationsoftware.com\/page\/","name":"AffiliationSoftware.com","description":"Start your own Affiliate Program","publisher":{"@id":"https:\/\/www.affiliationsoftware.com\/page\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.affiliationsoftware.com\/page\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.affiliationsoftware.com\/page\/#organization","name":"AffiliationSoftware.com","url":"https:\/\/www.affiliationsoftware.com\/page\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.affiliationsoftware.com\/page\/#\/schema\/logo\/image\/","url":"https:\/\/www.affiliationsoftware.com\/page\/wp-content\/uploads\/logo-social.jpg","contentUrl":"https:\/\/www.affiliationsoftware.com\/page\/wp-content\/uploads\/logo-social.jpg","width":250,"height":250,"caption":"AffiliationSoftware.com"},"image":{"@id":"https:\/\/www.affiliationsoftware.com\/page\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/affiliationsoftware","https:\/\/x.com\/affiliationsoft","https:\/\/www.youtube.com\/c\/affiliationsoftwarecom"]},{"@type":"Person","@id":"https:\/\/www.affiliationsoftware.com\/page\/#\/schema\/person\/4f411a107e497afcca83d9888c346321","name":"AffiliationSoftware","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/02ea3108a7792a4bfb3d89b37daa439f1d77e638b5bb522c2075b94a0a293310?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/02ea3108a7792a4bfb3d89b37daa439f1d77e638b5bb522c2075b94a0a293310?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/02ea3108a7792a4bfb3d89b37daa439f1d77e638b5bb522c2075b94a0a293310?s=96&d=mm&r=g","caption":"AffiliationSoftware"}}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.affiliationsoftware.com\/page\/wp-json\/wp\/v2\/posts\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.affiliationsoftware.com\/page\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.affiliationsoftware.com\/page\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.affiliationsoftware.com\/page\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.affiliationsoftware.com\/page\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":0,"href":"https:\/\/www.affiliationsoftware.com\/page\/wp-json\/wp\/v2\/posts\/214\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.affiliationsoftware.com\/page\/wp-json\/wp\/v2\/media?parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.affiliationsoftware.com\/page\/wp-json\/wp\/v2\/categories?post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.affiliationsoftware.com\/page\/wp-json\/wp\/v2\/tags?post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}