<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.offerit.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=OfferitDave</id>
		<title>Offerit - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.offerit.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=OfferitDave"/>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Special:Contributions/OfferitDave"/>
		<updated>2026-04-28T08:46:08Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.5</generator>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Edit_Offer&amp;diff=4064</id>
		<title>Offerit REST API Edit Offer</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Edit_Offer&amp;diff=4064"/>
				<updated>2020-11-18T20:05:30Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit  Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''PATCH /offer/edit_offer''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*edit_offer edits an existing offer&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/offer/edit_offer&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the Offerit domain&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*PATCH&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
=== '''Offer Parameters''' ===&lt;br /&gt;
*offerid&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''required'''''&lt;br /&gt;
**Id of offer to edit&lt;br /&gt;
*name&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Offer Name&lt;br /&gt;
*offer_description&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Description to display to affiliates&lt;br /&gt;
*hidden&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Offer does not show up in the affiliate offer list.&lt;br /&gt;
*date_live&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Time when offer should become available to affiliates.  String to time on the string provided. Default is empty.&lt;br /&gt;
*date_expire&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Time when offer should stop being available to affiliates.  String to time on the string provided. Default is empty.&lt;br /&gt;
*featured&lt;br /&gt;
**'''''type: bool'''''&lt;br /&gt;
*thumb_url&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Url of offer thumbnail image.&lt;br /&gt;
*force_url&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Url to screenshot for thumbnail.&lt;br /&gt;
**Flags this as a featured offer. Default FALSE.&lt;br /&gt;
*expire_url&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**External URL to redirect traffic to if the offer is expired.&lt;br /&gt;
*expire_landing_pageid&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**ID of landing page to redirect traffic to if the offer is expired.&lt;br /&gt;
*no_personal_member_info&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Prevent name and address information from being stored in the customer record&lt;br /&gt;
*subject_lines&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Comma separated list of recommended subject lines for affiliates promoting via email.  Only displayed when &amp;quot;Display Offer Email Fields&amp;quot; is enabled&lt;br /&gt;
*from_addresses&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Comma separated list of recommended from addresses for affiliates promoting via email.  Only displayed when &amp;quot;Display Offer Email Fields&amp;quot; is enabled&lt;br /&gt;
*ip_lookup&lt;br /&gt;
**'''''type: Bool'''''&lt;br /&gt;
** Set cookieless tracking to match on only IP instead of IP+Browser Details. Default FALSE.&lt;br /&gt;
*ip_uniqueness_seconds&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Set the number of seconds before a repeat visit by the same visitor will trigger the 'unique' offer redirect contition. This does not affect them showing as unique in stats.  Default is unset on the offer level and inheriting from the &amp;quot;Unique Visitor Time&amp;quot; configuration setting.  &lt;br /&gt;
*offer_groups&lt;br /&gt;
**'''''type: int,string,array'''''&lt;br /&gt;
**Accepts an existing offer group id, comma separated list of group ids, or array of group ids to associate with this offer.&lt;br /&gt;
*marketing_types&lt;br /&gt;
**'''''type: int,string,array'''''&lt;br /&gt;
**Accepts an existing  marketing type id, comma separated list of marketing type ids, or array of marketing type ids to associate with this offer.&lt;br /&gt;
*categories&lt;br /&gt;
**'''''type: int,string,array'''''&lt;br /&gt;
**Accepts an existing category id or category name, comma separated list of ids/names, or array of ids/names to associate with this offer. Creates new categories if a category name is passed that does not exist.&lt;br /&gt;
*authorized&lt;br /&gt;
**'''''type: string,array'''''&lt;br /&gt;
**Accepts a comma separated list or array of 2 letter country codes where traffic is authorized to use this offer. Defaults to the 'Default Authorized Countries' configuration setting.&lt;br /&gt;
*unauthorized&lt;br /&gt;
**'''''type: string,array'''''&lt;br /&gt;
**Accepts a comma separated list or array of 2 letter country codes where traffic is not authorized to use this offer. Defaults to the 'Default Unauthorized Countries' configuration setting.&lt;br /&gt;
If no authorized or unauthorized countries are set even after checking the network configurations, the offer is authorized for all countries by default.&lt;br /&gt;
*device_types&lt;br /&gt;
**'''''type: array'''''&lt;br /&gt;
**'''''possible values : 0 (desktop) 1 (mobile) 2 (tablet)'''''&lt;br /&gt;
**Accepts an array of device types to accept.  Send empty array to unset.&lt;br /&gt;
*suppress_conversion_pixels&lt;br /&gt;
**'''''type: bool'''''&lt;br /&gt;
**If true, conversions will not trigger affiliate pixels (but goals assigned to the conversion column still will).&lt;br /&gt;
*suppress_continuity_pixels&lt;br /&gt;
**'''''type: bool'''''&lt;br /&gt;
**If true, continuities will not trigger affiliate pixels (but goals assigned to the continuity column still will).&lt;br /&gt;
&lt;br /&gt;
==='''Advertiser Parameters'''===&lt;br /&gt;
*advertiserid&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Loginid of advertiser account associated with this offer. Default none.&lt;br /&gt;
*advertiser_cost_type&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''options:'''''&lt;br /&gt;
***conversion:flat amount per conversion&lt;br /&gt;
***dynamic_conversion:uses the revenue passed with the conversion&lt;br /&gt;
***sale:calculate a percentage of the gross sale amount reported by the advertiser&lt;br /&gt;
***click:a flat amount per click&lt;br /&gt;
***unique:a flat amount per unique click&lt;br /&gt;
**If there is an advertiser associated with this offer, how is offer revenue calculated. Default none.&lt;br /&gt;
*advertiser_cost_flat&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Flat cost to advertisers. used with 'conversion','click','unique'&lt;br /&gt;
*advertiser_cost_perc&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Percentage cost to advertiser used with 'sale'&lt;br /&gt;
&lt;br /&gt;
==='''Fraud Prevention Parameters'''===&lt;br /&gt;
*ip_conversion_limit_flag&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***0: Inherit from Network Configuration&lt;br /&gt;
***1: No Limit on this offer&lt;br /&gt;
***2: Specify Limimt on this offer&lt;br /&gt;
**Comma separated list of recommended from addresses for affiliates promoting via email.  Only displayed when &amp;quot;Display Offer Email Fields&amp;quot; is enabled. Default 0.&lt;br /&gt;
*ip_conversion_limit&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Number of conversions allowed per IP to this offer in any 24 hour time period. Only checked if ip_conversion_limit_flag=2. Default 0.&lt;br /&gt;
*ip_conversion_group&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***0: This offer only&lt;br /&gt;
***x: Group id of any offer group.&lt;br /&gt;
**Controls the scope of ip_conversion_limit.  Default is 0, this offer only.  Specifying a group id will count all conversion for offers in that group&lt;br /&gt;
*prevent_cookie_dupes&lt;br /&gt;
**'''''type: Bool'''''&lt;br /&gt;
**Checks a cookie to block surfers that have already converted on this offer during the cookie lifetime. Default FALSE.&lt;br /&gt;
*pending_approval_lockout&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Minimum number of seconds that must pass between a click and a conversion for that conversion to be automatically approved.  While this setting is in effect, all conversions on this offer are treated as pending. If the lockout period has been reached, the system will record both a pending conversion and an approved conversion automatically. Default 0 to disable.&lt;br /&gt;
&lt;br /&gt;
==='''Revenue Parameters'''===&lt;br /&gt;
*conversion_default&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Amount used if none is specified in the conversion. Default none.&lt;br /&gt;
*conversion_default_type&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***1:Revenue&lt;br /&gt;
***2:Gross&lt;br /&gt;
** Specify if the amount specified in conversion_default is revenue or gross. Default 1 for revenue&lt;br /&gt;
*continuity_default&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Amount used if none is specified in the continuity. Default none.&lt;br /&gt;
*continuity_default_type&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***1:Revenue&lt;br /&gt;
***2:Gross&lt;br /&gt;
** Specify if the amount specified in continuity_default is revenue or gross. Default 1 for revenue&lt;br /&gt;
&lt;br /&gt;
==='''Commission Parameters'''===&lt;br /&gt;
*percentage_commission_source&lt;br /&gt;
**'''''type: int''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***0:Revenue&lt;br /&gt;
***1:Gross&lt;br /&gt;
** Specify whether revenue or gross should be used as the base when affiliate are paid a percentage. Default 0 for revenue&lt;br /&gt;
*hide_payout_string &lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
**Hide the automatically generated commission description and use the description in 'commission_description' instead.&lt;br /&gt;
*commission_description&lt;br /&gt;
**'''''type: string''''&lt;br /&gt;
**Custom description displayed to affiliates to explain how commissions are calculated for this offer.&lt;br /&gt;
*commission_type&lt;br /&gt;
**'''''type: string''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***cpa:Flat per CPA.  Works with flat_amount_per_conversion and flat_amount_per_continuity&lt;br /&gt;
***cps:Percentage of Sale. Works with percentage_of_customer_conversion and percentage_of_customer_continuity&lt;br /&gt;
***click:Flat per Click. Works with flat_amount_per_click and flat_amount_per_visitor&lt;br /&gt;
***hybrid:Hybrid. Works with all fields.&lt;br /&gt;
**Specify what type of commission this offer will pay.&lt;br /&gt;
*flat_amount_per_click&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Flat commission paid for every raw click. Works with click or hybrid&lt;br /&gt;
*flat_amount_per_visitor&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Flat commission paid for every unique click. Works with click or hybrid&lt;br /&gt;
*flat_amount_per_conversion&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Flat commission paid for every conversion. Works with cpa or hybrid&lt;br /&gt;
*flat_amount_per_continuity&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Flat commission paid for every continuity. Works with cpa or hybrid&lt;br /&gt;
*percentage_of_customer_conversion&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Percentage of conversion revenue to pay as commission. Works with cps or hybrid&lt;br /&gt;
*percentage_of_customer_continuity&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Percentage of continuity revenue to pay as commission. Works with cps or hybrid&lt;br /&gt;
*retro_payout&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
*All transactions for a customer will use the commission settings in place at the time of the first transaction.&lt;br /&gt;
*hide_deductions&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
*Only show voids / chargebacks in affiliate statistics if they affected affiliate commissions.&lt;br /&gt;
*hide_continuities&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
*Only show continuities  in affiliate statistics if they affected affiliate commissions.&lt;br /&gt;
*hide_conversions&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
*Only show conversions  in affiliate statistics if they affected affiliate commissions.&lt;br /&gt;
*deduct_voids&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
**When enabled, voids will reverse the commission paid to the affiliate on the original transaction that is being voided&lt;br /&gt;
*deduct_chargebacks&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
**When enabled, chargebacks will reverse the commission paid to the affiliate on the original transaction that is being charged back&lt;br /&gt;
*min_deduct_date&lt;br /&gt;
**'''''type: string''''&lt;br /&gt;
**Date for stringtotime.  Transactions before this date will never have their commissions removed by a void or chargeback.&lt;br /&gt;
*deduct_window&lt;br /&gt;
**'''''type: int''''&lt;br /&gt;
**If a void or chargeback is reported more than this many days after the original transaction, the affiliate will not have their commission removed even if deduct_voids or deduct_chargebacks is enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''PATCH'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
http://domain/api/offer/edit_offer&lt;br /&gt;
name=edited API TEST OFFER&lt;br /&gt;
authorized=GB,IT&lt;br /&gt;
advertiserid=9&lt;br /&gt;
advertiser_cost_type=conversion&lt;br /&gt;
advertiser_cost_flat=25&lt;br /&gt;
commission_type=cps&lt;br /&gt;
percentage_of_customer_conversion=15&lt;br /&gt;
percentage_of_customer_continuity=5&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;result&amp;quot;:&amp;quot;Success&amp;quot;,&lt;br /&gt;
    &amp;quot;message&amp;quot;: &amp;quot;offer_saved&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php &lt;br /&gt;
$url = 'http://domain/api/offer/edit_offer';&lt;br /&gt;
$curl = curl_init(); &lt;br /&gt;
 &lt;br /&gt;
$headers = array( &lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62', &lt;br /&gt;
    'api-username: productsupport' &lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
 $data = Array(&lt;br /&gt;
    'offerid' =&amp;gt; 251,&lt;br /&gt;
    'name' =&amp;gt; 'edited API TEST Offer',&lt;br /&gt;
    'authorized' =&amp;gt; 'GB,IT',&lt;br /&gt;
    'advertiserid' =&amp;gt; 9,&lt;br /&gt;
    'advertiser_cost_type' =&amp;gt; 'conversion',&lt;br /&gt;
    'advertiser_cost_flat'=&amp;gt; 25,&lt;br /&gt;
    'commission_type' =&amp;gt; cps,&lt;br /&gt;
    'percentage_of_customer_conversion' =&amp;gt; 15,&lt;br /&gt;
    'percentage_of_customer_continuity' =&amp;gt; 5,&lt;br /&gt;
); &lt;br /&gt;
&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); &lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); &lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &amp;quot;PATCH&amp;quot;);&lt;br /&gt;
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));&lt;br /&gt;
                                                  &lt;br /&gt;
$resp = curl_exec($curl); &lt;br /&gt;
//dumps an associative array representation of the json response&lt;br /&gt;
$output = json_decode($resp, true);&lt;br /&gt;
if($output !== NULL) {&lt;br /&gt;
	//json was valid. Dump the decoded array&lt;br /&gt;
	print_r($output);&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
	//invalid json, just dump the raw response&lt;br /&gt;
	print_r($resp);&lt;br /&gt;
}&lt;br /&gt;
// Close request to clear up some resources &lt;br /&gt;
curl_close($curl); &lt;br /&gt;
?&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Add_Offer&amp;diff=4063</id>
		<title>Offerit REST API Add Offer</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Add_Offer&amp;diff=4063"/>
				<updated>2020-11-18T20:02:49Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: /* Offer Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit  Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''POST /offer/add_offer''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*add_offer adds a new offer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/offer/add_offer&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the Offerit domain&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*POST&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
=== '''Offer Parameters''' ===&lt;br /&gt;
*name&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''required'''&lt;br /&gt;
**Offer Name&lt;br /&gt;
*offer_description&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Description to display to affiliates&lt;br /&gt;
*hidden&lt;br /&gt;
**'''''type: bool'''''&lt;br /&gt;
**0 or 1.  If set to 1, offer does not show up in the affiliate offer list.&lt;br /&gt;
*date_live&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Time when offer should become available to affiliates.  String to time on the string provided. Default is empty.&lt;br /&gt;
*date_expire&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Time when offer should stop being available to affiliates.  String to time on the string provided. Default is empty.&lt;br /&gt;
*featured&lt;br /&gt;
**'''''type: bool'''''&lt;br /&gt;
**Flags this as a featured offer. Default FALSE.&lt;br /&gt;
*expire_url&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**External URL to redirect traffic to if the offer is expired.&lt;br /&gt;
*expire_landing_pageid&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**ID of landing page to redirect traffic to if the offer is expired.&lt;br /&gt;
*no_personal_member_info&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Prevent name and address information from being stored in the customer record&lt;br /&gt;
*subject_lines&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Comma separated list of recommended subject lines for affiliates promoting via email.  Only displayed when &amp;quot;Display Offer Email Fields&amp;quot; is enabled&lt;br /&gt;
*from_addresses&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Comma separated list of recommended from addresses for affiliates promoting via email.  Only displayed when &amp;quot;Display Offer Email Fields&amp;quot; is enabled&lt;br /&gt;
*ip_lookup&lt;br /&gt;
**'''''type: Bool'''''&lt;br /&gt;
** Set cookieless tracking to match on only IP instead of IP+Browser Details. Default FALSE.&lt;br /&gt;
*ip_uniqueness_seconds&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Set the number of seconds before a repeat visit by the same visitor will trigger the 'unique' offer redirect contition. This does not affect them showing as unique in stats.  Default is unset on the offer level and inheriting from the &amp;quot;Unique Visitor Time&amp;quot; configuration setting.  &lt;br /&gt;
*offer_groups&lt;br /&gt;
**'''''type: int,string,array'''''&lt;br /&gt;
**Accepts an existing offer group id, comma separated list of group ids, or array of group ids to associate with this offer.&lt;br /&gt;
*marketing_types&lt;br /&gt;
**'''''type: int,string,array'''''&lt;br /&gt;
**Accepts an existing  marketing type id, comma separated list of marketing type ids, or array of marketing type ids to associate with this offer.&lt;br /&gt;
*categories&lt;br /&gt;
**'''''type: int,string,array'''''&lt;br /&gt;
**Accepts an existing category id or category name, comma separated list of ids/names, or array of ids/names to associate with this offer. Creates new categories if a category name is passed that does not exist.&lt;br /&gt;
*authorized&lt;br /&gt;
**'''''type: string,array'''''&lt;br /&gt;
**Accepts a comma separated list or array of 2 letter country codes where traffic is authorized to use this offer. Defaults to the 'Default Authorized Countries' configuration setting.&lt;br /&gt;
*unauthorized&lt;br /&gt;
**'''''type: string,array'''''&lt;br /&gt;
**Accepts a comma separated list or array of 2 letter country codes where traffic is not authorized to use this offer. Defaults to the 'Default Unauthorized Countries' configuration setting.&lt;br /&gt;
If no authorized or unauthorized countries are set even after checking the network configurations, the offer is authorized for all countries by default.&lt;br /&gt;
*device_types&lt;br /&gt;
**'''''type: array'''''&lt;br /&gt;
**'''''possible values : 0 (desktop) 1 (mobile) 2 (tablet)'''''&lt;br /&gt;
**Accepts an array of device types to accept.  Default is null (no device restriction).&lt;br /&gt;
*remove_ocode&lt;br /&gt;
**'''''type: Bool'''''&lt;br /&gt;
** Remove ocode when sending surfer to landing page. Default FALSE to pass along.&lt;br /&gt;
&lt;br /&gt;
==='''Advertiser Parameters'''===&lt;br /&gt;
*advertiserid&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Loginid of advertiser account associated with this offer. Default none.&lt;br /&gt;
*advertiser_cost_type&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''options:'''''&lt;br /&gt;
***conversion:flat amount per conversion&lt;br /&gt;
***dynamic_conversion:uses the revenue passed with the conversion&lt;br /&gt;
***sale:calculate a percentage of the gross sale amount reported by the advertiser&lt;br /&gt;
***click:a flat amount per click&lt;br /&gt;
***unique:a flat amount per unique click&lt;br /&gt;
**If there is an advertiser associated with this offer, how is offer revenue calculated. Default none.&lt;br /&gt;
*advertiser_cost_flat&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Flat cost to advertisers. used with 'conversion','click','unique'&lt;br /&gt;
*advertiser_cost_perc&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Percentage cost to advertiser used with 'sale'&lt;br /&gt;
&lt;br /&gt;
==='''Fraud Prevention Parameters'''===&lt;br /&gt;
*ip_conversion_limit_flag&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***0: Inherit from Network Configuration&lt;br /&gt;
***1: No Limit on this offer&lt;br /&gt;
***2: Specify Limimt on this offer&lt;br /&gt;
**Comma separated list of recommended from addresses for affiliates promoting via email.  Only displayed when &amp;quot;Display Offer Email Fields&amp;quot; is enabled. Default 0.&lt;br /&gt;
*ip_conversion_limit&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Number of conversions allowed per IP to this offer in any 24 hour time period. Only checked if ip_conversion_limit_flag=2. Default 0.&lt;br /&gt;
*ip_conversion_group&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***0: This offer only&lt;br /&gt;
***x: Group id of any offer group.&lt;br /&gt;
**Controls the scope of ip_conversion_limit.  Default is 0, this offer only.  Specifying a group id will count all conversion for offers in that group&lt;br /&gt;
*prevent_cookie_dupes&lt;br /&gt;
**'''''type: Bool'''''&lt;br /&gt;
**Checks a cookie to block surfers that have already converted on this offer during the cookie lifetime. Default FALSE.&lt;br /&gt;
*pending_approval_lockout&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Minimum number of seconds that must pass between a click and a conversion for that conversion to be automatically approved.  While this setting is in effect, all conversions on this offer are treated as pending. If the lockout period has been reached, the system will record both a pending conversion and an approved conversion automatically. Default 0 to disable.&lt;br /&gt;
&lt;br /&gt;
==='''Revenue Parameters'''===&lt;br /&gt;
*conversion_default&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Amount used if none is specified in the conversion. Default none.&lt;br /&gt;
*conversion_default_type&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***1:Revenue&lt;br /&gt;
***2:Gross&lt;br /&gt;
** Specify if the amount specified in conversion_default is revenue or gross. Default 1 for revenue&lt;br /&gt;
*continuity_default&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Amount used if none is specified in the continuity. Default none.&lt;br /&gt;
*continuity_default_type&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***1:Revenue&lt;br /&gt;
***2:Gross&lt;br /&gt;
** Specify if the amount specified in continuity_default is revenue or gross. Default 1 for revenue&lt;br /&gt;
&lt;br /&gt;
==='''Commission Parameters'''===&lt;br /&gt;
*percentage_commission_source&lt;br /&gt;
**'''''type: int''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***0:Revenue&lt;br /&gt;
***1:Gross&lt;br /&gt;
** Specify whether revenue or gross should be used as the base when affiliate are paid a percentage. Default 0 for revenue&lt;br /&gt;
*hide_payout_string &lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
**Hide the automatically generated commission description and use the description in 'commission_description' instead.&lt;br /&gt;
*commission_description&lt;br /&gt;
**'''''type: string''''&lt;br /&gt;
**Custom description displayed to affiliates to explain how commissions are calculated for this offer.&lt;br /&gt;
*commission_type&lt;br /&gt;
**'''''type: string''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***cpa:Flat per CPA.  Works with flat_amount_per_conversion and flat_amount_per_continuity&lt;br /&gt;
***cps:Percentage of Sale. Works with percentage_of_customer_conversion and percentage_of_customer_continuity&lt;br /&gt;
***click:Flat per Click. Works with flat_amount_per_click and flat_amount_per_visitor&lt;br /&gt;
***hybrid:Hybrid. Works with all fields.&lt;br /&gt;
**Specify what type of commission this offer will pay.&lt;br /&gt;
*flat_amount_per_click&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Flat commission paid for every raw click. Works with click or hybrid&lt;br /&gt;
*flat_amount_per_visitor&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Flat commission paid for every unique click. Works with click or hybrid&lt;br /&gt;
*flat_amount_per_conversion&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Flat commission paid for every conversion. Works with cpa or hybrid&lt;br /&gt;
*flat_amount_per_continuity&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Flat commission paid for every continuity. Works with cpa or hybrid&lt;br /&gt;
*percentage_of_customer_conversion&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Percentage of conversion revenue to pay as commission. Works with cps or hybrid&lt;br /&gt;
*percentage_of_customer_continuity&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Percentage of continuity revenue to pay as commission. Works with cps or hybrid&lt;br /&gt;
*retro_payout&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
*All transactions for a customer will use the commission settings in place at the time of the first transaction.&lt;br /&gt;
*hide_deductions&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
*Only show voids / chargebacks in affiliate statistics if they affected affiliate commissions.&lt;br /&gt;
*hide_continuities&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
*Only show continuities  in affiliate statistics if they affected affiliate commissions.&lt;br /&gt;
*hide_conversions&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
*Only show conversions  in affiliate statistics if they affected affiliate commissions.&lt;br /&gt;
*deduct_voids&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
**When enabled, voids will reverse the commission paid to the affiliate on the original transaction that is being voided&lt;br /&gt;
*deduct_chargebacks&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
**When enabled, chargebacks will reverse the commission paid to the affiliate on the original transaction that is being charged back&lt;br /&gt;
*min_deduct_date&lt;br /&gt;
**'''''type: string''''&lt;br /&gt;
**Date for stringtotime.  Transactions before this date will never have their commissions removed by a void or chargeback.&lt;br /&gt;
*deduct_window&lt;br /&gt;
**'''''type: int''''&lt;br /&gt;
**If a void or chargeback is reported more than this many days after the original transaction, the affiliate will not have their commission removed even if deduct_voids or deduct_chargebacks is enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== '''Landing Page Parameters''' ===&lt;br /&gt;
*url&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''required'''&lt;br /&gt;
**Landing Page url&lt;br /&gt;
*preview_url&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Clean url to display to affiliates&lt;br /&gt;
*tracking_domain&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**One of your already defined tracking domains&lt;br /&gt;
*thumb_url&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Url of offer thumbnail image.&lt;br /&gt;
*force_url&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Url to screenshot for thumbnail.&lt;br /&gt;
*language&lt;br /&gt;
**'''''type: int''''&lt;br /&gt;
**id of one of your defined languages from the offers admin.&lt;br /&gt;
*conversion_type&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''options: iframe,post,image'''''&lt;br /&gt;
**Type of conversion to use for this offer&lt;br /&gt;
*postback_ips&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Comma separated list of ips that are allowed to post conversions to this offer. Default is no restriction&lt;br /&gt;
*hostnpost_ips&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Comma separated list of ips that are allowed to post hostandpost conversions to this offer. Default is no restriction&lt;br /&gt;
*void_ips&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Comma separated list of ips that are allowed to post voids to this offer. Default is deny all.&lt;br /&gt;
*private&lt;br /&gt;
**'''''type: bool'''''&lt;br /&gt;
**TRUE means the default landing page for the new offer will be private.  Default is FALSE.&lt;br /&gt;
*requestable&lt;br /&gt;
**'''''type: bool'''''&lt;br /&gt;
**TRUE means the default landing page for the new offer will be requestable if it is also private.  Default is FALSE.&lt;br /&gt;
*internal_desc&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Landing page description for the new offer that is only in the admin interface. Default is empty.&lt;br /&gt;
*redirect_hash&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Matching field for identifying what landing page to use when geo redirecting within an offer group. Default is empty.&lt;br /&gt;
*disable_url_sanitization&lt;br /&gt;
**'''''type: bool'''''&lt;br /&gt;
**Uses landing page url exactly as provided without encoding any invalid url characters. Default is false, encoding invalid url characters in the landing page.&lt;br /&gt;
*disable_deep_linking&lt;br /&gt;
**'''''type: bool'''''&lt;br /&gt;
**Discards any extra path and variables specified by the affilaite on the tracking link. Default is false, allowing the affiliate to affect the landing page url.&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''POST'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
http://domain/api/offer/add_offer&lt;br /&gt;
name=API TEST OFFER&lt;br /&gt;
url=http://example.com/?id=%%click_hash%%&lt;br /&gt;
preview_url=http://example.com/&lt;br /&gt;
authorized=DE,ES&lt;br /&gt;
advertiserid=1&lt;br /&gt;
advertiser_cost_type=conversion&lt;br /&gt;
advertiser_cost_flat=20&lt;br /&gt;
commission_type=201&lt;br /&gt;
flat_amount_per_conversion=15&lt;br /&gt;
flat_amount_per_continuity=5&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;result&amp;quot;:&amp;quot;Success&amp;quot;,&lt;br /&gt;
    &amp;quot;message&amp;quot;:{&lt;br /&gt;
      &amp;quot;landing_pageid&amp;quot;:&amp;quot;432&amp;quot;,&lt;br /&gt;
      &amp;quot;offerid&amp;quot;:&amp;quot;400&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php &lt;br /&gt;
$url = 'http://domain/api/offer/add_offer';&lt;br /&gt;
$curl = curl_init(); &lt;br /&gt;
 &lt;br /&gt;
$headers = array( &lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62', &lt;br /&gt;
    'api-username: productsupport' &lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
 $data = Array(&lt;br /&gt;
    'name' =&amp;gt; 'API TEST Offer',&lt;br /&gt;
    'url' =&amp;gt; 'http://example.com/?id=%%click_hash%%',&lt;br /&gt;
    'preview_url' =&amp;gt; 'http://example.com/',&lt;br /&gt;
    'authorized' =&amp;gt; 'DE,ES',&lt;br /&gt;
    'advertiserid' =&amp;gt; 1,&lt;br /&gt;
    'advertiser_cost_type' =&amp;gt; 'conversion',&lt;br /&gt;
    'advertiser_cost_flat'=&amp;gt; 20,&lt;br /&gt;
    'commission_type' =&amp;gt; 201,&lt;br /&gt;
    'flat_amount_per_conversion' =&amp;gt; 15,&lt;br /&gt;
    'flat_amount_per_continuity' =&amp;gt; 5,&lt;br /&gt;
); &lt;br /&gt;
&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); &lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); &lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &amp;quot;POST&amp;quot;);&lt;br /&gt;
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));&lt;br /&gt;
                                                  &lt;br /&gt;
$resp = curl_exec($curl); &lt;br /&gt;
//dumps an associative array representation of the json response&lt;br /&gt;
$output = json_decode($resp, true);&lt;br /&gt;
if($output !== NULL) {&lt;br /&gt;
	//json was valid. Dump the decoded array&lt;br /&gt;
	print_r($output);&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
	//invalid json, just dump the raw response&lt;br /&gt;
	print_r($resp);&lt;br /&gt;
}&lt;br /&gt;
// Close request to clear up some resources &lt;br /&gt;
curl_close($curl); &lt;br /&gt;
?&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Dynamic_Advertiser_Revenue&amp;diff=4046</id>
		<title>Offerit REST API Dynamic Advertiser Revenue</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Dynamic_Advertiser_Revenue&amp;diff=4046"/>
				<updated>2020-06-23T21:03:42Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: /* Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit  Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''POST /advertiser/dynamic_advertiser_revenue''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*adds revenue from an advertiser.  This revenue isn't attached to any specific transaction and doesn't generate affiliate commissions. &lt;br /&gt;
*the required passthrough fields for the landing page url are %%aff_id%%, %%identid%% and %%device_tracking_id%%.  These must be sent to the advertiser and returned as part of the post.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/advertiser/dynamic_advertiser_revenue&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the Offerit domain&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*POST&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
&lt;br /&gt;
'''''Paremeters must be sent with the request body. The examples below show the parameters sent as x-www-form-urlencoded'''&lt;br /&gt;
&lt;br /&gt;
*loginid&lt;br /&gt;
**'''''type: integer'''''&lt;br /&gt;
**'''''required'''''&lt;br /&gt;
**Loginid of affiliate (from %%aff_id%% landing page passthrough)&lt;br /&gt;
*identid&lt;br /&gt;
**'''''type: integer'''''&lt;br /&gt;
**'''''required'''''&lt;br /&gt;
**identid of surfer (from %%identid%% landing page passthrough)&lt;br /&gt;
*device_tracking_id&lt;br /&gt;
**'''''type: integer'''''&lt;br /&gt;
**'''''required'''''&lt;br /&gt;
**device_tracking_id of surfer (from %%device_tracking_id%% landing page passthrough)&lt;br /&gt;
*time&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''required'''''&lt;br /&gt;
**time to insert this entry for (as yyyy-mm-dd hh:00:00)&lt;br /&gt;
*revenue&lt;br /&gt;
**'''''type: decimal'''''&lt;br /&gt;
**'''''required'''''&lt;br /&gt;
**Revenue for this entry (as xx.yy)&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''POST'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
http://domain/api/affiliate/dynamic_advertiser_revenue&lt;br /&gt;
inserts[1][identid]=111&lt;br /&gt;
inserts[1][loginid]=1&lt;br /&gt;
inserts[1][device_tracking_id]=1111&lt;br /&gt;
inserts[1][time]=2020-01-01 05:00:00&lt;br /&gt;
inserts[1][revenue]=11.22&lt;br /&gt;
inserts[2][identid]=22&lt;br /&gt;
inserts[2][loginid]=1&lt;br /&gt;
inserts[2][device_tracking_id]=2222&lt;br /&gt;
inserts[2][time]=2020-01-01 05:00:00&lt;br /&gt;
inserts[2][revenue]=22.22&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[&lt;br /&gt;
    {&lt;br /&gt;
        &amp;quot;result&amp;quot;:&amp;quot;Mixed Success&amp;quot;,&amp;quot;&lt;br /&gt;
        &amp;quot;successes&amp;quot;:[&lt;br /&gt;
          'Insert 2 Successful'&lt;br /&gt;
         ],&lt;br /&gt;
         &amp;quot;errors&amp;quot;:[&lt;br /&gt;
          'Insert 1 Failed'&lt;br /&gt;
         ],&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$curl = curl_init();&lt;br /&gt;
&lt;br /&gt;
$url = 'http://domain/api/affiliate/dynamic_advertiser_revenue';&lt;br /&gt;
&lt;br /&gt;
$headers = array(&lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
    'api-username: productsupport'&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$data = array(&lt;br /&gt;
  inserts = Array(&lt;br /&gt;
     1 = Array(&lt;br /&gt;
         'loginid' =&amp;gt; 1,&lt;br /&gt;
         'identid' =&amp;gt; 111,&lt;br /&gt;
         'device_tracking_id' =&amp;gt; '11111',&lt;br /&gt;
         'time' =&amp;gt; '2020-01-01 13:00:00',&lt;br /&gt;
         'revenue' =&amp;gt; '22.13'&lt;br /&gt;
     ),&lt;br /&gt;
     2 = Array(&lt;br /&gt;
         'loginid' =&amp;gt; 1,&lt;br /&gt;
         'identid' =&amp;gt; 222,&lt;br /&gt;
         'device_tracking_id' =&amp;gt; '11111',&lt;br /&gt;
         'time' =&amp;gt; '2020-01-01 14:00:00',&lt;br /&gt;
         'revenue' =&amp;gt; '11.22'&lt;br /&gt;
     ),    &lt;br /&gt;
  )&lt;br /&gt;
);&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
$resp = curl_exec($curl);&lt;br /&gt;
//dumps an associative array representation of the json response&lt;br /&gt;
$output = json_decode($resp, true);&lt;br /&gt;
if($output !== NULL) {&lt;br /&gt;
	//json was valid. Dump the decoded array&lt;br /&gt;
	print_r($output);&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
	//invalid json, just dump the raw response&lt;br /&gt;
	print_r($resp);&lt;br /&gt;
}&lt;br /&gt;
// Close request to clear up some resources&lt;br /&gt;
curl_close($curl);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Dynamic_Advertiser_Revenue&amp;diff=4035</id>
		<title>Offerit REST API Dynamic Advertiser Revenue</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Dynamic_Advertiser_Revenue&amp;diff=4035"/>
				<updated>2020-06-12T22:11:16Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit  Manual | show_rest_api_section = true }} == '''POST /advertiser/dynamic_advertiser_revenue''' == '''Description'''  *adds revenue from an advertiser.  This revenue...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit  Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''POST /advertiser/dynamic_advertiser_revenue''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*adds revenue from an advertiser.  This revenue isn't attached to any specific transaction and doesn't generate affiliate commissions. &lt;br /&gt;
*the required passthrough fields for the landing page url are %%aff_id%%, %%identid%% and %%device_tracking_id%%.  These must be sent to the advertiser and returned as part of the post.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/advertiser/dynamic_advertiser_revenue&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the Offerit domain&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*POST&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
&lt;br /&gt;
'''''Paremeters must be sent with the request body. The examples below show the parameters sent as x-www-form-urlencoded'''&lt;br /&gt;
&lt;br /&gt;
*loginid&lt;br /&gt;
**'''''type: integer'''''&lt;br /&gt;
**'''''required'''''&lt;br /&gt;
**Loginid of affiliate (from %%aff_id%% landing page passthrough)&lt;br /&gt;
*identid&lt;br /&gt;
**'''''type: integer'''''&lt;br /&gt;
**'''''required'''''&lt;br /&gt;
**identid of surfer (from %%identid%% landing page passthrough)&lt;br /&gt;
*device_tracking_id&lt;br /&gt;
**'''''type: integer'''''&lt;br /&gt;
**'''''required'''''&lt;br /&gt;
**device_tracking_id of surfer (from %%device_tracking_id%% landing page passthrough)&lt;br /&gt;
*device_tracking_id&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''required'''''&lt;br /&gt;
**time to insert this entry for (as yyyy-mm-dd hh:00:00)&lt;br /&gt;
*revenue&lt;br /&gt;
**'''''type: decimal'''''&lt;br /&gt;
**'''''required'''''&lt;br /&gt;
**Revenue for this entry (as xx.yy)&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''POST'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
http://domain/api/affiliate/dynamic_advertiser_revenue&lt;br /&gt;
inserts[1][identid]=111&lt;br /&gt;
inserts[1][loginid]=1&lt;br /&gt;
inserts[1][device_tracking_id]=1111&lt;br /&gt;
inserts[1][time]=2020-01-01 05:00:00&lt;br /&gt;
inserts[1][revenue]=11.22&lt;br /&gt;
inserts[2][identid]=22&lt;br /&gt;
inserts[2][loginid]=1&lt;br /&gt;
inserts[2][device_tracking_id]=2222&lt;br /&gt;
inserts[2][time]=2020-01-01 05:00:00&lt;br /&gt;
inserts[2][revenue]=22.22&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[&lt;br /&gt;
    {&lt;br /&gt;
        &amp;quot;result&amp;quot;:&amp;quot;Mixed Success&amp;quot;,&amp;quot;&lt;br /&gt;
        &amp;quot;successes&amp;quot;:[&lt;br /&gt;
          'Insert 2 Successful'&lt;br /&gt;
         ],&lt;br /&gt;
         &amp;quot;errors&amp;quot;:[&lt;br /&gt;
          'Insert 1 Failed'&lt;br /&gt;
         ],&lt;br /&gt;
&lt;br /&gt;
    }&lt;br /&gt;
]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$curl = curl_init();&lt;br /&gt;
&lt;br /&gt;
$url = 'http://domain/api/affiliate/dynamic_advertiser_revenue';&lt;br /&gt;
&lt;br /&gt;
$headers = array(&lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
    'api-username: productsupport'&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$data = array(&lt;br /&gt;
  inserts = Array(&lt;br /&gt;
     1 = Array(&lt;br /&gt;
         'loginid' =&amp;gt; 1,&lt;br /&gt;
         'identid' =&amp;gt; 111,&lt;br /&gt;
         'device_tracking_id' =&amp;gt; '11111',&lt;br /&gt;
         'time' =&amp;gt; '2020-01-01 13:00:00',&lt;br /&gt;
         'revenue' =&amp;gt; '22.13'&lt;br /&gt;
     ),&lt;br /&gt;
     2 = Array(&lt;br /&gt;
         'loginid' =&amp;gt; 1,&lt;br /&gt;
         'identid' =&amp;gt; 222,&lt;br /&gt;
         'device_tracking_id' =&amp;gt; '11111',&lt;br /&gt;
         'time' =&amp;gt; '2020-01-01 14:00:00',&lt;br /&gt;
         'revenue' =&amp;gt; '11.22'&lt;br /&gt;
     ),    &lt;br /&gt;
  )&lt;br /&gt;
);&lt;br /&gt;
    &lt;br /&gt;
&lt;br /&gt;
$resp = curl_exec($curl);&lt;br /&gt;
//dumps an associative array representation of the json response&lt;br /&gt;
$output = json_decode($resp, true);&lt;br /&gt;
if($output !== NULL) {&lt;br /&gt;
	//json was valid. Dump the decoded array&lt;br /&gt;
	print_r($output);&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
	//invalid json, just dump the raw response&lt;br /&gt;
	print_r($resp);&lt;br /&gt;
}&lt;br /&gt;
// Close request to clear up some resources&lt;br /&gt;
curl_close($curl);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Multi_Factor_Authentication&amp;diff=4034</id>
		<title>Multi Factor Authentication</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Multi_Factor_Authentication&amp;diff=4034"/>
				<updated>2020-06-11T05:27:51Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual}}&lt;br /&gt;
[[Category:Offerit Affiliate Information]]&lt;br /&gt;
Multi factor authentication (Two factor authentication)  a feature in [[Offerit]] that gives users the option to protect access to their account with Google Authenticator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
There are two configuration options you can set for Multi Factor Authentication.&lt;br /&gt;
* Drift Window: accounts for desynchronized clocks, letting tokens that are slightly older or newer than expected work.&lt;br /&gt;
 &amp;lt;br&amp;gt;[[File:MFA_Drift.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Affiliate Login Form MFA: adds the MFA field to our default affiliate login templates.&lt;br /&gt;
 &amp;lt;br&amp;gt;[[File:MFA_Display.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Enabling ==&lt;br /&gt;
&lt;br /&gt;
There is an 'Two Factor Authentication' action in the affiliates admin.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:MFA_Admin.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then you can generate a new qr code.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:MFA_Generate.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
== Validating == &lt;br /&gt;
&lt;br /&gt;
Use your app to scan the qr code or generate a new one and type in the token, then click 'Enable Two Factor'.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:MFA_Admin_validate.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
Enabled status will change to Active.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Logging In == &lt;br /&gt;
If you added MFA field to the default login process, you will see it in the template all the time.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:MFA_Login.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
If not, you will be prompted to verify your information a second time, or can directly load &lt;br /&gt;
(/external.php?page=access&amp;amp;code=12), &lt;br /&gt;
&lt;br /&gt;
If you use a customized  template or external login form, you will need to add a field with name='twofactor' to pass the token in.&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:MFA_Display.png&amp;diff=4033</id>
		<title>File:MFA Display.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:MFA_Display.png&amp;diff=4033"/>
				<updated>2020-06-11T04:42:32Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:MFA_Drift.png&amp;diff=4032</id>
		<title>File:MFA Drift.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:MFA_Drift.png&amp;diff=4032"/>
				<updated>2020-06-11T04:42:11Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:MFA_Admin_validate.png&amp;diff=4031</id>
		<title>File:MFA Admin validate.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:MFA_Admin_validate.png&amp;diff=4031"/>
				<updated>2020-06-11T04:41:36Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:MFA_Generate.png&amp;diff=4030</id>
		<title>File:MFA Generate.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:MFA_Generate.png&amp;diff=4030"/>
				<updated>2020-06-11T04:41:20Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:MFA_Admin.png&amp;diff=4029</id>
		<title>File:MFA Admin.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:MFA_Admin.png&amp;diff=4029"/>
				<updated>2020-06-11T04:40:44Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Affiliate_Multi_Factor_Authentication&amp;diff=4028</id>
		<title>Affiliate Multi Factor Authentication</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Affiliate_Multi_Factor_Authentication&amp;diff=4028"/>
				<updated>2020-06-10T22:06:53Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit Manual | show_for_affiliates_section = true }} Category:Offerit Affiliate Information Multi factor authentication a feature in Offerit that gives Ct#Affili...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_for_affiliates_section = true&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Offerit Affiliate Information]]&lt;br /&gt;
Multi factor authentication a feature in [[Offerit]] that gives [[Ct#Affiliate|Affiliates]] the option to protect access to their account with Google Authenticator.&lt;br /&gt;
&lt;br /&gt;
== Enabling ==&lt;br /&gt;
&lt;br /&gt;
The MFA section is at the bottom your account details page (internal.php?page=account) .&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:MFA_Create.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Validating == &lt;br /&gt;
Use your app to scan the qr code and type in the token, then click 'Enable'.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:MFA_Validate.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
MFA status will change to Active.&lt;br /&gt;
&lt;br /&gt;
== Disabling == &lt;br /&gt;
Click 'Remove' next to MFA Secret to disable&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:MFA_Remove.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Logging In == &lt;br /&gt;
If your network has added MFA field to the default login process, you will see it in the template all the time.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:MFA_Login.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
If they have not, you will be prompted to verify your information a second time, or can directly load &lt;br /&gt;
(/external.php?page=access&amp;amp;code=12)&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Multi_Factor_Authentication&amp;diff=4027</id>
		<title>Multi Factor Authentication</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Multi_Factor_Authentication&amp;diff=4027"/>
				<updated>2020-06-10T21:21:07Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_for_affiliates_section = true&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Offerit Affiliate Information]]&lt;br /&gt;
Multi factor authentication a feature in [[Offerit]] that gives [[Ct#Affiliate|Affiliates]] the option to protect access to their account with Google Authenticator.&lt;br /&gt;
&lt;br /&gt;
== Enabling ==&lt;br /&gt;
&lt;br /&gt;
The MFA section is at the bottom your account details page (internal.php?page=account) .&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:MFA_Create.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Validating == &lt;br /&gt;
Use your app to scan the qr code and type in the token, then click 'Enable'.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:MFA_Validate.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
MFA status will change to Active.&lt;br /&gt;
&lt;br /&gt;
== Disabling == &lt;br /&gt;
Click 'Remove' next to MFA Secret to disable&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:MFA_Remove.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Logging In == &lt;br /&gt;
If your network has added MFA field to the default login process, you will see it in the template all the time.&lt;br /&gt;
&amp;lt;br&amp;gt;[[File:MFA_Login.png|600px]]&amp;lt;br&amp;gt;&lt;br /&gt;
If they have not, you will be prompted to verify your information a second time, or can directly load &lt;br /&gt;
(/external.php?page=access&amp;amp;code=12)&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Multi_Factor_Authentication&amp;diff=4026</id>
		<title>Multi Factor Authentication</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Multi_Factor_Authentication&amp;diff=4026"/>
				<updated>2020-06-10T19:57:32Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_for_affiliates_section = true&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Offerit Affiliate Information]]&lt;br /&gt;
Multi factor authentication a feature in [[Offerit]] that gives [[Ct#Affiliate|Affiliates]] the option to protect access to their account with Google Authenticator.&lt;br /&gt;
&lt;br /&gt;
== Enabling ==&lt;br /&gt;
&lt;br /&gt;
The MFA section is at the bottom your account details page (internal.php?page=account) .&lt;br /&gt;
[[File:MFA_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Validating == &lt;br /&gt;
Use your app to scan the qr code and type in the token, then click 'Enable'.&lt;br /&gt;
[[File:MFA_Validate.png]]&lt;br /&gt;
MFA status will change to Active.&lt;br /&gt;
&lt;br /&gt;
== Disabling == &lt;br /&gt;
Click 'Remove' next to MFA Secret to disable&lt;br /&gt;
[[File:MFA_Remove.png]]&lt;br /&gt;
&lt;br /&gt;
== Logging In == &lt;br /&gt;
If your network has added MFA field to the default login process, you will see it in the template all the time.&lt;br /&gt;
[[File:MFA_Login.png]]&lt;br /&gt;
If they have not, you will be prompted to verify your information a second time, or can directly load &lt;br /&gt;
(/external.php?page=access&amp;amp;code=12)&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Multi_Factor_Authentication&amp;diff=4025</id>
		<title>Multi Factor Authentication</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Multi_Factor_Authentication&amp;diff=4025"/>
				<updated>2020-06-10T19:56:25Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit Manual | show_for_affiliates_section = true }}  Multi factor authentication a feature in Offerit that gives Affiliates the option to protect acc...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_for_affiliates_section = true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Multi factor authentication a feature in [[Offerit]] that gives [[Ct#Affiliate|Affiliates]] the option to protect access to their account with Google Authenticator.&lt;br /&gt;
&lt;br /&gt;
== Enabling ==&lt;br /&gt;
&lt;br /&gt;
The MFA section is at the bottom your account details page (internal.php?page=account) .&lt;br /&gt;
[[File:MFA_Create.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Validating == &lt;br /&gt;
Use your app to scan the qr code and type in the token, then click 'Enable'.&lt;br /&gt;
[[File:MFA_Validate.png]]&lt;br /&gt;
MFA status will change to Active.&lt;br /&gt;
&lt;br /&gt;
== Disabling == &lt;br /&gt;
Click 'Remove' next to MFA Secret to disable&lt;br /&gt;
[[File:MFA_Remove.png]]&lt;br /&gt;
&lt;br /&gt;
== Logging In == &lt;br /&gt;
If your network has added MFA field to the default login process, you will see it in the template all the time.&lt;br /&gt;
[[File:MFA_Login.png]]&lt;br /&gt;
If they have not, you will be prompted to verify your information a second time, or can directly load &lt;br /&gt;
(/external.php?page=access&amp;amp;code=12)&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:MFA_Login.png&amp;diff=4024</id>
		<title>File:MFA Login.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:MFA_Login.png&amp;diff=4024"/>
				<updated>2020-06-10T19:56:19Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:MFA_Access.png&amp;diff=4023</id>
		<title>File:MFA Access.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:MFA_Access.png&amp;diff=4023"/>
				<updated>2020-06-10T19:55:37Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:Login.png&amp;diff=4022</id>
		<title>File:Login.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:Login.png&amp;diff=4022"/>
				<updated>2020-06-10T19:53:57Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:MFA_Remove.png&amp;diff=4021</id>
		<title>File:MFA Remove.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:MFA_Remove.png&amp;diff=4021"/>
				<updated>2020-06-10T19:31:47Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:MFA_Validate.png&amp;diff=4020</id>
		<title>File:MFA Validate.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:MFA_Validate.png&amp;diff=4020"/>
				<updated>2020-06-10T19:31:29Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:MFA_Create.png&amp;diff=4019</id>
		<title>File:MFA Create.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:MFA_Create.png&amp;diff=4019"/>
				<updated>2020-06-10T19:31:12Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Edit_Offer&amp;diff=4006</id>
		<title>Offerit REST API Edit Offer</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Edit_Offer&amp;diff=4006"/>
				<updated>2019-07-18T15:33:39Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: /* Offer Parameters */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit  Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''PATCH /offer/edit_offer''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*edit_offer edits an existing offer&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/offer/edit_offer&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the Offerit domain&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*PATCH&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
=== '''Offer Parameters''' ===&lt;br /&gt;
*offerid&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''required'''''&lt;br /&gt;
**Id of offer to edit&lt;br /&gt;
*name&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Offer Name&lt;br /&gt;
*offer_description&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Description to display to affiliates&lt;br /&gt;
*hidden&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Offer does not show up in the affiliate offer list.&lt;br /&gt;
*date_live&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Time when offer should become available to affiliates.  String to time on the string provided. Default is empty.&lt;br /&gt;
*date_expire&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Time when offer should stop being available to affiliates.  String to time on the string provided. Default is empty.&lt;br /&gt;
*featured&lt;br /&gt;
**'''''type: bool'''''&lt;br /&gt;
*thumb_url&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Url of offer thumbnail image.&lt;br /&gt;
*force_url&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Url to screenshot for thumbnail.&lt;br /&gt;
**Flags this as a featured offer. Default FALSE.&lt;br /&gt;
*expire_url&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**External URL to redirect traffic to if the offer is expired.&lt;br /&gt;
*expire_landing_pageid&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**ID of landing page to redirect traffic to if the offer is expired.&lt;br /&gt;
*no_personal_member_info&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Prevent name and address information from being stored in the customer record&lt;br /&gt;
*subject_lines&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Comma separated list of recommended subject lines for affiliates promoting via email.  Only displayed when &amp;quot;Display Offer Email Fields&amp;quot; is enabled&lt;br /&gt;
*from_addresses&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Comma separated list of recommended from addresses for affiliates promoting via email.  Only displayed when &amp;quot;Display Offer Email Fields&amp;quot; is enabled&lt;br /&gt;
*ip_lookup&lt;br /&gt;
**'''''type: Bool'''''&lt;br /&gt;
** Set cookieless tracking to match on only IP instead of IP+Browser Details. Default FALSE.&lt;br /&gt;
*ip_uniqueness_seconds&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Set the number of seconds before a repeat visit by the same visitor will trigger the 'unique' offer redirect contition. This does not affect them showing as unique in stats.  Default is unset on the offer level and inheriting from the &amp;quot;Unique Visitor Time&amp;quot; configuration setting.  &lt;br /&gt;
*offer_groups&lt;br /&gt;
**'''''type: int,string,array'''''&lt;br /&gt;
**Accepts an existing offer group id, comma separated list of group ids, or array of group ids to associate with this offer.&lt;br /&gt;
*marketing_types&lt;br /&gt;
**'''''type: int,string,array'''''&lt;br /&gt;
**Accepts an existing  marketing type id, comma separated list of marketing type ids, or array of marketing type ids to associate with this offer.&lt;br /&gt;
*categories&lt;br /&gt;
**'''''type: int,string,array'''''&lt;br /&gt;
**Accepts an existing category id or category name, comma separated list of ids/names, or array of ids/names to associate with this offer. Creates new categories if a category name is passed that does not exist.&lt;br /&gt;
*authorized&lt;br /&gt;
**'''''type: string,array'''''&lt;br /&gt;
**Accepts a comma separated list or array of 2 letter country codes where traffic is authorized to use this offer. Defaults to the 'Default Authorized Countries' configuration setting.&lt;br /&gt;
*unauthorized&lt;br /&gt;
**'''''type: string,array'''''&lt;br /&gt;
**Accepts a comma separated list or array of 2 letter country codes where traffic is not authorized to use this offer. Defaults to the 'Default Unauthorized Countries' configuration setting.&lt;br /&gt;
If no authorized or unauthorized countries are set even after checking the network configurations, the offer is authorized for all countries by default.&lt;br /&gt;
*suppress_conversion_pixels&lt;br /&gt;
**'''''type: bool'''''&lt;br /&gt;
**If true, conversions will not trigger affiliate pixels (but goals assigned to the conversion column still will).&lt;br /&gt;
*suppress_continuity_pixels&lt;br /&gt;
**'''''type: bool'''''&lt;br /&gt;
**If true, continuities will not trigger affiliate pixels (but goals assigned to the continuity column still will).&lt;br /&gt;
&lt;br /&gt;
==='''Advertiser Parameters'''===&lt;br /&gt;
*advertiserid&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Loginid of advertiser account associated with this offer. Default none.&lt;br /&gt;
*advertiser_cost_type&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''options:'''''&lt;br /&gt;
***conversion:flat amount per conversion&lt;br /&gt;
***dynamic_conversion:uses the revenue passed with the conversion&lt;br /&gt;
***sale:calculate a percentage of the gross sale amount reported by the advertiser&lt;br /&gt;
***click:a flat amount per click&lt;br /&gt;
***unique:a flat amount per unique click&lt;br /&gt;
**If there is an advertiser associated with this offer, how is offer revenue calculated. Default none.&lt;br /&gt;
*advertiser_cost_flat&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Flat cost to advertisers. used with 'conversion','click','unique'&lt;br /&gt;
*advertiser_cost_perc&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Percentage cost to advertiser used with 'sale'&lt;br /&gt;
&lt;br /&gt;
==='''Fraud Prevention Parameters'''===&lt;br /&gt;
*ip_conversion_limit_flag&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***0: Inherit from Network Configuration&lt;br /&gt;
***1: No Limit on this offer&lt;br /&gt;
***2: Specify Limimt on this offer&lt;br /&gt;
**Comma separated list of recommended from addresses for affiliates promoting via email.  Only displayed when &amp;quot;Display Offer Email Fields&amp;quot; is enabled. Default 0.&lt;br /&gt;
*ip_conversion_limit&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Number of conversions allowed per IP to this offer in any 24 hour time period. Only checked if ip_conversion_limit_flag=2. Default 0.&lt;br /&gt;
*ip_conversion_group&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***0: This offer only&lt;br /&gt;
***x: Group id of any offer group.&lt;br /&gt;
**Controls the scope of ip_conversion_limit.  Default is 0, this offer only.  Specifying a group id will count all conversion for offers in that group&lt;br /&gt;
*prevent_cookie_dupes&lt;br /&gt;
**'''''type: Bool'''''&lt;br /&gt;
**Checks a cookie to block surfers that have already converted on this offer during the cookie lifetime. Default FALSE.&lt;br /&gt;
*pending_approval_lockout&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Minimum number of seconds that must pass between a click and a conversion for that conversion to be automatically approved.  While this setting is in effect, all conversions on this offer are treated as pending. If the lockout period has been reached, the system will record both a pending conversion and an approved conversion automatically. Default 0 to disable.&lt;br /&gt;
&lt;br /&gt;
==='''Revenue Parameters'''===&lt;br /&gt;
*conversion_default&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**Amount used if none is specified in the conversion. Default none.&lt;br /&gt;
*conversion_default_type&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***1:Revenue&lt;br /&gt;
***2:Gross&lt;br /&gt;
** Specify if the amount specified in conversion_default is revenue or gross. Default 1 for revenue&lt;br /&gt;
*continuity_default&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**Amount used if none is specified in the continuity. Default none.&lt;br /&gt;
*continuity_default_type&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***1:Revenue&lt;br /&gt;
***2:Gross&lt;br /&gt;
** Specify if the amount specified in continuity_default is revenue or gross. Default 1 for revenue&lt;br /&gt;
&lt;br /&gt;
==='''Commission Parameters'''===&lt;br /&gt;
*percentage_commission_source&lt;br /&gt;
**'''''type: int''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***0:Revenue&lt;br /&gt;
***1:Gross&lt;br /&gt;
** Specify whether revenue or gross should be used as the base when affiliate are paid a percentage. Default 0 for revenue&lt;br /&gt;
*hide_payout_string &lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
**Hide the automatically generated commission description and use the description in 'commission_description' instead.&lt;br /&gt;
*commission_description&lt;br /&gt;
**'''''type: string''''&lt;br /&gt;
**Custom description displayed to affiliates to explain how commissions are calculated for this offer.&lt;br /&gt;
*commission_type&lt;br /&gt;
**'''''type: string''''&lt;br /&gt;
**'''''options'''''&lt;br /&gt;
***cpa:Flat per CPA.  Works with flat_amount_per_conversion and flat_amount_per_continuity&lt;br /&gt;
***cps:Percentage of Sale. Works with percentage_of_customer_conversion and percentage_of_customer_continuity&lt;br /&gt;
***click:Flat per Click. Works with flat_amount_per_click and flat_amount_per_visitor&lt;br /&gt;
***hybrid:Hybrid. Works with all fields.&lt;br /&gt;
**Specify what type of commission this offer will pay.&lt;br /&gt;
*flat_amount_per_click&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Flat commission paid for every raw click. Works with click or hybrid&lt;br /&gt;
*flat_amount_per_visitor&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Flat commission paid for every unique click. Works with click or hybrid&lt;br /&gt;
*flat_amount_per_conversion&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Flat commission paid for every conversion. Works with cpa or hybrid&lt;br /&gt;
*flat_amount_per_continuity&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Flat commission paid for every continuity. Works with cpa or hybrid&lt;br /&gt;
*percentage_of_customer_conversion&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Percentage of conversion revenue to pay as commission. Works with cps or hybrid&lt;br /&gt;
*percentage_of_customer_continuity&lt;br /&gt;
**'''''type: decimal''''&lt;br /&gt;
** Percentage of continuity revenue to pay as commission. Works with cps or hybrid&lt;br /&gt;
*retro_payout&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
*All transactions for a customer will use the commission settings in place at the time of the first transaction.&lt;br /&gt;
*hide_deductions&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
*Only show voids / chargebacks in affiliate statistics if they affected affiliate commissions.&lt;br /&gt;
*hide_continuities&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
*Only show continuities  in affiliate statistics if they affected affiliate commissions.&lt;br /&gt;
*hide_conversions&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
*Only show conversions  in affiliate statistics if they affected affiliate commissions.&lt;br /&gt;
*deduct_voids&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
**When enabled, voids will reverse the commission paid to the affiliate on the original transaction that is being voided&lt;br /&gt;
*deduct_chargebacks&lt;br /&gt;
**'''''type: bool''''&lt;br /&gt;
**When enabled, chargebacks will reverse the commission paid to the affiliate on the original transaction that is being charged back&lt;br /&gt;
*min_deduct_date&lt;br /&gt;
**'''''type: string''''&lt;br /&gt;
**Date for stringtotime.  Transactions before this date will never have their commissions removed by a void or chargeback.&lt;br /&gt;
*deduct_window&lt;br /&gt;
**'''''type: int''''&lt;br /&gt;
**If a void or chargeback is reported more than this many days after the original transaction, the affiliate will not have their commission removed even if deduct_voids or deduct_chargebacks is enabled.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''PATCH'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&lt;br /&gt;
http://domain/api/offer/edit_offer&lt;br /&gt;
name=edited API TEST OFFER&lt;br /&gt;
authorized=GB,IT&lt;br /&gt;
advertiserid=9&lt;br /&gt;
advertiser_cost_type=conversion&lt;br /&gt;
advertiser_cost_flat=25&lt;br /&gt;
commission_type=cps&lt;br /&gt;
percentage_of_customer_conversion=15&lt;br /&gt;
percentage_of_customer_continuity=5&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
    &amp;quot;result&amp;quot;:&amp;quot;Success&amp;quot;,&lt;br /&gt;
    &amp;quot;message&amp;quot;: &amp;quot;offer_saved&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php &lt;br /&gt;
$url = 'http://domain/api/offer/edit_offer';&lt;br /&gt;
$curl = curl_init(); &lt;br /&gt;
 &lt;br /&gt;
$headers = array( &lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62', &lt;br /&gt;
    'api-username: productsupport' &lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
 $data = Array(&lt;br /&gt;
    'offerid' =&amp;gt; 251,&lt;br /&gt;
    'name' =&amp;gt; 'edited API TEST Offer',&lt;br /&gt;
    'authorized' =&amp;gt; 'GB,IT',&lt;br /&gt;
    'advertiserid' =&amp;gt; 9,&lt;br /&gt;
    'advertiser_cost_type' =&amp;gt; 'conversion',&lt;br /&gt;
    'advertiser_cost_flat'=&amp;gt; 25,&lt;br /&gt;
    'commission_type' =&amp;gt; cps,&lt;br /&gt;
    'percentage_of_customer_conversion' =&amp;gt; 15,&lt;br /&gt;
    'percentage_of_customer_continuity' =&amp;gt; 5,&lt;br /&gt;
); &lt;br /&gt;
&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); &lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); &lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &amp;quot;PATCH&amp;quot;);&lt;br /&gt;
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));&lt;br /&gt;
                                                  &lt;br /&gt;
$resp = curl_exec($curl); &lt;br /&gt;
//dumps an associative array representation of the json response&lt;br /&gt;
$output = json_decode($resp, true);&lt;br /&gt;
if($output !== NULL) {&lt;br /&gt;
	//json was valid. Dump the decoded array&lt;br /&gt;
	print_r($output);&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
	//invalid json, just dump the raw response&lt;br /&gt;
	print_r($resp);&lt;br /&gt;
}&lt;br /&gt;
// Close request to clear up some resources &lt;br /&gt;
curl_close($curl); &lt;br /&gt;
?&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Replacement_Variables&amp;diff=3984</id>
		<title>Replacement Variables</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Replacement_Variables&amp;diff=3984"/>
				<updated>2019-04-24T22:28:19Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit_Manual&lt;br /&gt;
| show_setup_section = true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Landing Page URL Replacement Tokens ==&lt;br /&gt;
When tracking with Offerit, surfers will go through our tracking links:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit.com/track/&amp;lt;ocode&amp;gt;/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After doing our tracking process, we will send the surfer to the landing page URL defined in the admin for the offer and landingpage we see in the &amp;quot;ocode&amp;quot;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.com/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Offerit Allows you to add replacement tokens to your Offer/Landing Page URL to pass some data along to the landing page.  The most common example is to pass our &amp;quot;click_hash&amp;quot; to your landing page so you can use it for reporting transactions and events via postback instead of using iframe/image pixels.  Example landing page URL modification to pass this data:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.com/?click_hash=%%click_hash%%&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the example above our &amp;quot;click_hash&amp;quot; data will be passed to the landing page in a paramter called &amp;quot;click_hash&amp;quot;.  Please note that you can name the URL parameter anything you'd like to meet your system's needs.  For examplem if your system expects this information to be sent in &amp;quot;clickid&amp;quot;, you can instead make your landing page URL:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.com/?clickid=%%click_hash%%&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below is the full list of available Replacement Tokens that can be used with your Landing Page URLs:&lt;br /&gt;
* ''%%click_hash%%'' - The Click hash generated by Offerit when a surfer clicks our tracking links&lt;br /&gt;
* ''%%click_hash_nodot%%'' - The Click hash generated by Offerit when a surfer clicks our tracking links with all dots/periods (&amp;quot;.&amp;quot;) removed&lt;br /&gt;
* ''%%offer_id%%'' - The Offer ID&lt;br /&gt;
* ''%%aff_id%%'' - The Affiliate ID&lt;br /&gt;
* ''%%aff_username%%'' - The Affiliate Username&lt;br /&gt;
* ''%%aff_campaign%%'' - The Affiliate Campaign ID&lt;br /&gt;
* ''%%aff_subid%%'' - The Affiliate Campaign Name&lt;br /&gt;
* ''%%country_code%%'' - The 2-letter ISO Country code for the surfer &lt;br /&gt;
* ''%%ip%%'' - The surfer's IP address in IPv4 format&lt;br /&gt;
* ''%%ip_long%%'' - The surfer's IP address converted from IPv4 to a long integer using PHP's &amp;quot;ip2long&amp;quot; function&lt;br /&gt;
* ''%%aff_phone%% (phone offers only)'' - The Phone Number for the affiliate phone offer&lt;br /&gt;
&lt;br /&gt;
== Affiliate Custom Pixel Replacement Variables ==&lt;br /&gt;
=== Standard Replacement Variables ===&lt;br /&gt;
Affiliates have the option to add custom pixels or postbacks to inform their systems of sales when they are reported to Offerit.  To set these up, use the &amp;quot;My Account&amp;quot; tab in the top navigation while logged in or overridden as them, then click the &amp;quot;Custom Offer Pixels&amp;quot; sub section in the left side navigation:&lt;br /&gt;
&lt;br /&gt;
[[File:CustomOfferPixels.png|800px]]&lt;br /&gt;
&lt;br /&gt;
The following is a list of possible replacement variables that can be used to send information from Offerit to your Affiliate's custom pixel or postback URL.  &lt;br /&gt;
* ''%%aff_id%%'' - Your affiliate ID.&lt;br /&gt;
* ''%%offer_id%%'' - The ID of the offer.&lt;br /&gt;
* ''%%aff_campaign%%'' - The ID of the campaign/subid used.&lt;br /&gt;
* ''%%aff_subid%%'' - The name of the campaign/subid used.&lt;br /&gt;
* ''%%ref_url%%'' - The Referring URL for the event being reported&lt;br /&gt;
* ''%%transaction_hash%%'' - The transaction ID of the conversion.&lt;br /&gt;
* ''%%commission%%'' - The commission related to the conversion.&lt;br /&gt;
* ''%%decimal_commission%%'' - The commission related to the conversion in decimal format.&lt;br /&gt;
* ''%%aff_approved%%'' - Your auto-pending status.&lt;br /&gt;
* ''%%orderid%%'' - The transaction identifier from the advertiser.&lt;br /&gt;
* ''%%country_code%%'' - The 2-letter ISO Country code for the surfer&lt;br /&gt;
* ''%%cust_custom1%%''- Customer Custom1 Field&lt;br /&gt;
* ''%%cust_custom2%%''- Customer Custom2 Field&lt;br /&gt;
* ''%%cust_custom3%%''- Customer Custom3 Field&lt;br /&gt;
* ''%%cust_custom4%%''- Customer Custom4 Field&lt;br /&gt;
* ''%%cust_custom5%%''- Customer Custom5 Field&lt;br /&gt;
* ''%%cust_username%%'' - Customer Username&lt;br /&gt;
* ''%%cust_email%%'' - Customer Email&lt;br /&gt;
* ''%%cust_name%%'' - Customer First and Last Name&lt;br /&gt;
* ''%%cust_ip%%'' - The customer record's IP address in IPv4 format&lt;br /&gt;
* ''%%cust_ip_long%%'' - The customer record's IP address converted from IPv4 to a long integer using PHP's &amp;quot;ip2long&amp;quot; function&lt;br /&gt;
* ''%%subaff%%'' - Subaff Field&lt;br /&gt;
* ''%%subaff2%%'' - Subaff2 Field&lt;br /&gt;
* ''%%subaff3%%'' - Subaff3 Field&lt;br /&gt;
* ''%%subaff4%%'' - Subaff4 Field&lt;br /&gt;
* ''%%subaff5%%'' - Subaff5 Field&lt;br /&gt;
* ''%%device_type_name%%'' - Device type name&lt;br /&gt;
* ''%%device_brand_name%%'' - Device brand name&lt;br /&gt;
* ''%%device_browser_name%%'' - Device browser name&lt;br /&gt;
* ''%%device_carrier_name%%'' - Device carrier name&lt;br /&gt;
* ''%%device_model_name%%'' - Device model name&lt;br /&gt;
* ''%%device_os_name%%'' - Device OS name&lt;br /&gt;
* ''%%device_os_version_name%%'' - Device OS version&lt;br /&gt;
* ''%%_ocid%%'' - The affiliate's external click ID.  To use this on postbacks, they must add &amp;quot;&amp;amp;_ocid=&amp;lt;external_clickid&amp;gt;&amp;quot; to their tracking links where &amp;lt;external_clickid&amp;gt; gets replaced with their own click ID.&lt;br /&gt;
&lt;br /&gt;
=== Network Revenue Replacements ===&lt;br /&gt;
If you need to send your affiliates the amount your network made on an event in addition to the amount they are being paid, we have a configuration that can be enabled to make this data available for their use.  In the Configuration Admin, click the &amp;quot;Affiliates&amp;quot; section in the left side navigation. On this page, scroll down to the &amp;quot;Postbacks&amp;quot; sub section and find &amp;quot;Include Network Revenue on Affiliate Postbacks&amp;quot;.  This will allow your affiliates to use either of the following replacement variables in their custom pixels/postbacks:&lt;br /&gt;
* ''%%network_revenue%%'' - The transaction amount for the event.&lt;br /&gt;
* ''%%decimal_network_revenue%%'' - The transaction amount for the event in decimal format.&lt;br /&gt;
&lt;br /&gt;
=== Custom Replacement Variables ===&lt;br /&gt;
Offerit allows affiliates to pass custom parameters through their tracking links to your landing pages.  For convenience, we make the data passed through available to them for their Custom Pixels and Postbacks as described here:&lt;br /&gt;
http://wiki.offerit.com/index.php/Affiliate_Custom_Pixels#Custom_Conversion_Variables.  These parameters are also available for replacement in your landing page urls.&lt;br /&gt;
&lt;br /&gt;
=== Special Replacement Syntax ===&lt;br /&gt;
Offerit supports several special modifiers that you can include in your replacements.&lt;br /&gt;
* ''|default:'' - Allows you to specify the value to return if the requested replacment variable is empty.  Without setting this, an empty variable will be replaced with the name of the replacement variable.&lt;br /&gt;
** ''email=%%cust_email%%'' will return ''email=cust_email'' if there isn't one.&lt;br /&gt;
** ''email=%%cust_email|default:none'' will return ''email=none'' if there isn't one&lt;br /&gt;
&lt;br /&gt;
* ''if|replacement=match:output'' - Allows you to display customized output for matching conditions&lt;br /&gt;
** ''device=%%device_type_name%% will return ''device=Desktop''&lt;br /&gt;
** ''device=%%if|device_type_name=Desktop:1'' will return ''device=1''&lt;br /&gt;
&lt;br /&gt;
* ''|transform:''  - Allows you to either md5 or base64 encode the data after replacing it.&lt;br /&gt;
** 'publisher=%%aff_username%%'' will return ''publisher=somepub123'' if somepub123 is the username of the affiliate.&lt;br /&gt;
** 'publisher=%%aff_username|transform:md5%%'' will return ''publisher=155E3C2B7D2E5950C7E5AA70FA71B577'' if somepub123 is the username of the affiliate.&lt;br /&gt;
** 'publisher=%%aff_username|transform:base64%%'' will return ''publisher=c29tZXB1YjEyMw=='' if somepub123 is the username of the affiliate.&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Template:Offerit_Manual&amp;diff=3928</id>
		<title>Template:Offerit Manual</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Template:Offerit_Manual&amp;diff=3928"/>
				<updated>2018-08-31T18:58:05Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;offeritnavbox&amp;quot;&lt;br /&gt;
! &amp;lt;span class=&amp;quot;productname&amp;quot;&amp;gt;[[Offerit|Offerit]]&amp;lt;/span&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_for_affiliates_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | For Affiliates&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Automatic SubIDs]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Stats Dumps|Affiliate Stats Dumps]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Linkcode|Linkcode]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Link Groups|Link Groups]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Custom Pixels]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Host and Post]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[ASP Query String]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Main Payout Page|Main Payout Page]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_affiliate_area_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
 ! class=&amp;quot;i1&amp;quot; | Offerit Affiliate Area&lt;br /&gt;
    |-&lt;br /&gt;
    &amp;lt;!-- | [[Offerit Affiliate Area|Offerit Affiliate Area]]&lt;br /&gt;
    |- --&amp;gt;&lt;br /&gt;
    | [[Affiliate Account Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Account Change Log]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Creatives|Affiliate Creatives]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Creatives Search]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Custom Pixels]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Linkcodes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Linkcode Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Login History]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Messages]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Dashboard]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Dashboard Key Statistics|Dashboard Key Statistics]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Dashboard Statistics Summary|Dashboard Statistics Summary]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Payment History]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Quick Links]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referrals Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referring URL Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Remote Login]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Signup]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Statistic Filters]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Statistic Views]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate SubIDs]]&lt;br /&gt;
    &amp;lt;!-- | [[Affiliate Email and Notification Settings]] --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- | [[Affiliate Skins and Languages]] --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- | [[Affiliate Bonus Rewards]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_setup_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Offerit Setup&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Post-Installation Steps|Post-Installation Steps]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Creating Admin Accounts|Creating Admin Accounts]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Tracking Domain]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Edit Affiliate Text]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Edit CSS Colors]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Getting Started Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Quick-Start Guide]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Tracking in Offerit]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Pixel Builder]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Postback Examples]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Replacement Variables]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_admin_overview_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Admin Dashboard&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Admin Dashboard|The Admin Dashboard]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_reporting_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Reporting Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Reporting Admin|The Reporting Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Track and Strack|Track and Strack]]&lt;br /&gt;
    |-&lt;br /&gt;
    &amp;lt;!-- | [[Offerit Fraud|Fraud Reports]]&lt;br /&gt;
    |- --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_report_breakdowns_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | &amp;amp;nbsp; Report Breakdowns&lt;br /&gt;
    |-    &lt;br /&gt;
    | [[Profit and Loss Report|Profit and Loss Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Subscription Report|Subscription Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Transactions Report|Transactions Reports]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Fraud Report|Fraud Report]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Ratios Report|Affiliate Ratios Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Managers Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Surfer Actions Report|Visitor Actions Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referral Tier Commissions Report|Referral Tier Payouts Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referral Signup Commissions Report|Referral Signup Payouts Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Additional Commissions Report|Additional Commissions Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Graphical Affiliate Comparison Report|Graphical Affiliate Comparison Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Single Day Comparison Report|The Single Day Comparison Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Actual Affiliate Payments|Actual Affiliate Payments Report]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Payments Withheld Report|The Payments Withheld Report]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_offers_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Offers Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offers Admin|The Offers Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offers|Offers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offer Setup]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referrals]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Tracking Domain]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Commission|Commissions]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Commission Changes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Suppression Lists]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Pixel Builder]]&lt;br /&gt;
    &amp;lt;!-- | [[Offerit Post URLs Usage|Post URL Usage]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Post URLs|Post URLs in Offerit]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mobile Landing Pages|Mobile Landing Pages]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[ID Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offer Partner]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit Offer User Management|Offer User Management]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offer/Landing Page Redirection]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Admin Host and Post]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offer Post URLs]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offer Goals]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_affiliates_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Affiliates Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliates Admin|The Affiliates Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[ID Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Managers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referrals]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Activation|Affiliate Activation]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Admin-Only Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Override|Affiliate Overrides]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Creating Admin Accounts|Creating Admin Accounts]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[In House Accounts|In-House Accounts]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Add Manual Sale]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Manual Invoice|Manual Invoice]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Documents|Affiliate Documents]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Enabled Offers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Change Affiliate Status]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Account Changes]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_advertisers_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Advertisers Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Advertisers Admin|The Advertisers Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Account Changes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Advertiser Invoices]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Generate Invoice]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Advertiser Approval]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Change Advertiser Status]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_customers_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Customers Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Customers Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Add Customer|Manually Adding a Customer]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[ID Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_commissions_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Commissions Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Commissions Admin|The Commissions Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Adding Commissions|Adding Commissions]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Commission Changes|Commission Changes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[ID Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Commission]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payvia Types]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Special Pricing Options|Special Pricing Options]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_payments_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; |Payments Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payments Admin|The Payments Admin]]  &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payvia Types]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payout Periods]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payvia Dump Formats]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payment Dump Entry Numbers |Payment Dump Entry Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Payment Dump Variables|Payment Dump Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Check Functions|Check Functions]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_payment_methods_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; |Payment Methods&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payza|Payza]] &lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_creatives_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Creatives Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Creatives Admin|The Creatives Admin]]&lt;br /&gt;
   &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit Duplicating Creative Types|Duplicating Creative Types]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Add New Creatives|Add New Creatives]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Add New Creative Type|Add New Creative Type]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offeritcode]]&lt;br /&gt;
   &amp;lt;!-- |-&lt;br /&gt;
    | [[Bulk Import Creatives]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Creative_Templates|Creative Templates]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Code Builder]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Track and Strack]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_creative_types_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | &amp;amp;nbsp; Default Creative Types  &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Creative Types]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Image Banners|Image Banners]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Flash Banners|Flash Banners]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Dynamic Text Banners|Dynamic Text Banners]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Feeds|Feeds]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mailers|Mailers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Downloadable Videos|Video Download]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Embedded Videos|Video Embed]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Page Peels|Page Peels]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit IM Popups|IM Popups]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Footer Ads|Footer Ads]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Page Ads|Page Ads]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Overlays|Overlays]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_mailing_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Mailing Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mailing Admin|The Mailing Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Create New Mailer|Create New Mailer]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Email Configuration|Email Configuration]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mailing Queue|The Mailing Queue]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mailer Template Variables|Mailer Template Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mass Mailer Template Variables|Mass Mailing Template Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit_common_mailer_examples|Common Mailer Examples]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_communications_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Communications Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Communications Admin|The Communications Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Add News|Add News Item]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Send Message|Sending Messages]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Signup Questions]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit_Mass_Mailer_Template_Variables|Mass Mailer Template Variables]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_configuration_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Configuration Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Configuration Admin|The Configuration Admin]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit Fraud|Fraud Configuration]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Signup Postback URL|Affiliate Signup Postback URL]]&lt;br /&gt;
    |- &lt;br /&gt;
    | [[Edit Affiliate Text]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Edit CSS Colors]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit Log Admin Activity|Log Admin Activity]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit IP Address Filtering|IP Address Filtering]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Email Configuration|Email Configuration]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Signup Email|Affiliate Signup Email]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Postback|Affiliate Postback]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Analytics]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Throttling]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_skins_and_templates_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | &amp;amp;nbsp; Skins and Templates&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Skins and Templates Admin|The Skins and Templates Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Skins|Skins]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Smarty Plugins]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Templates|Templates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Site Templates|Site Templates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Language Skins|Language Skins]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Language Files]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit custom errors.php|custom_errors.php]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Join Page Variables|Join Page Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Post URL Variables|Post URL Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Customer Usernames &amp;amp; Passwords]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Username Recommendations|Username Recommendations]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Password Retrieval|Password Retrieval]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Post-Biller Templates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Geo-Target Join Options|Geo-Target Join Options]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Random Usernames and Passwords]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Smarty]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Smarty print array]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Support Template|Affiliate Support Template]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Adding a Verification Image|Adding a Verification Image]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Custom Commission and Campaign Selection Pages|Custom Commission and Campaign Selection Pages]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Output An Affiliate's Last Paid Date|Output An Affiliate's Last Paid Date]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Signup Email|Affiliate Signup Email]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Join Page Linkcodes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Approval/Upgrade/Denial Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[CSS Theme Builder]]&lt;br /&gt;
    |-&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_rest_api_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | REST API&lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | General&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Overview]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Ping|GET /service/ping]] &lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Advertiser&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Edit Advertiser |PATCH /advertiser/edit_advertiser]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Add Advertiser |POST /advertiser/add_advertiser]]&lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Affiliate&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Get Links |GET /affiliate/get_links]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Get Single Link |GET /affiliate/get_single_link]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Search_Affiliate|GET /affiliate/search]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Decode Trackingcode|GET /affiliate/decode_trackingcode]]  &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Edit Affiliate |PATCH /affiliate/edit_affiliate]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Set Affiliate Payvia Info|PATCH /affiliate/payvia]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Add Affiliate|POST /affiliate/add_affiliate]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Affiliate Login Ips|POST /affiliate/affiliate_login_ips]] &lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Creative&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Get Creatives |GET /creative/get_creatives]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Get Creatives Fields|GET /creative/get_creative_fields]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Get Creatives Rules|GET /creative/get_creative_rules]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Delete Creative|PATCH /creative/delete_creative]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Edit Creative|PATCH /creative/edit_creative]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Edit Creative Rules|PATCH /creative/edit_creative_rules]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Undelete Creative|PATCH /creative/undelete_creative]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Add Creative|POST /creative/add_creative]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Add Creative Rule|POST /creative/add_creative_rule]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Delete Creative Rules|POST /creative/delete_creative_rules]]&lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Customer&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Set Customer Details|PATCH /customer/set_customer_details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Lock Customer|PATCH /customer/lock]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Unlock Customer|PATCH /customer/unlock]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Forget Customer|PATCH /customer/forget]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Export Customer|GET /customer/export]]&lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Offer&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Check Orderid Exists|GET /offer/check_orderid_exists]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Get Commission Changes|GET /offer/get_commission_changes]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Activate Offer|PATCH /offer/activate_offer]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Edit Landing Page |PATCH /offer/edit_landing_page]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Edit Offer |PATCH /offer/edit_offer]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Pause Offer|PATCH /offer/pause_offer]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Set Commission Change Payouts|PATCH /offer/set_commission_change_payouts]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Set Enabled Affiliates |PATCH /offer/set_enabled_affiliates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Set Offer Categories|PATCH /offer/set_offer_categories]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Set Offer Countries|PATCH /offer/set_offer_countries]] &lt;br /&gt;
    |-    &lt;br /&gt;
    | [[Offerit REST API Set Offer Goals |PATCH /offer/set_offer_goals]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Set Offer Groups |PATCH /offer/set_offer_groups]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Set Offer Marketing Types|PATCH /offer/set_offer_marketing_types]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Store Offer Ips|PATCH /offer/store_offer_ips]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Add Commission Change |POST /offer/add_commission_change]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Add Landing Page |POST /offer/add_landing_page]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Add Offer |POST /offer/add_offer]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Add Tracking Domain |POST /offer/add_tracking_domain]]&lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Reporting&lt;br /&gt;
    |- &lt;br /&gt;
    | [[Offerit REST API Get Profit Loss Report|GET /report/profitloss]] &lt;br /&gt;
    |- &lt;br /&gt;
    | [[Offerit REST API Get Transaction Report|GET /report/transaction]] &lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Transaction&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Get Transaction Payout Preview|GET /transaction/transaction_payout_preview]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Transaction Update Revenue By Orderid |PATCH /transaction/transaction_update_revenue_by_orderid]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Transaction Update Revenue By Transaction Hash |PATCH /transaction/transaction_update_revenue_by_transaction_hash]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Process Void |POST /transaction/process_void]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Process Chargeback |POST /transaction/process_chargeback]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Process Reversal |POST /transaction/process_reversal]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Approve Pending Transaction |POST /transaction/approve_pending_transaction]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Click Detail |GET /transaction/click_detail]]  &lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_api_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | SOAP API (*deprecated*)&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API|API]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Add Affiliate|Add Affiliate]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Add Affiliate Sale|Add Affiliate Sale]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Add Offer|Add Offer]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Approve Transaction|Approve Transaction]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit API Admin Get Creatives|Admin Get Creatives]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Creative Types|Creative Types]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Decode Offeritcode|Decode Offeritcode]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Deny Transaction|Deny Transaction]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Disable Affiliate Landing Page|Disable Affiliate Landing Page]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Edit Affiliate Sale|Edit Affiliate Sale]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Enable Affiliate Landing Page|Enable Affiliate Landing Page]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit API Creative Categories|Creative Categories]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Affiliate Stats|Get Affiliate Stats]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Allowed Affiliates|Get Allowed Affiliates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Landing Page Details|Get Landing Page Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Offer Details|Get Offer Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Offer List|Get Offer List]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Profit Loss Report|Get Profit Loss Report]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit API Affiliate Get Traffic Tags|Affiliate Get Traffic Tags]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Affiliate Tracking Codes|Get Affiliate Tracking Codes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Affiliate Sales|Get Affiliate Sales]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Subaffiliate Sales|Get Subaffiliate Sales]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Customer Details|Get Customer Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Customer Instant Upgrade String|Get Customer Instant Upgrade String]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Customer Package Upgrade String|Get Customer Package Upgrade String]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Customer Upsell String|Get Customer Upsell String]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API List Affiliate Details|List Affiliate Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API List Affiliate Subaffiliates|List Affiliate Subaffiliates]]&lt;br /&gt;
    |- &lt;br /&gt;
    | [[Offerit API Ping|Ping]]&lt;br /&gt;
    |-&lt;br /&gt;
    &amp;lt;!-- |- &lt;br /&gt;
    | [[Offerit API Set Affiliate Defaults|Set Affiliate Defaults]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Admin Settings|Set Affiliate Admin Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Customs|Set Affiliate Customs]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Status|Set Affiliate Status]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Information|Set Affiliate Information]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Settings|Set Affiliate Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Customer Details|Set Customer Details]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Subaffiliate Status|Set SubAffiliate Status]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[API Bulk Import Creatives|Bulk Import Creatives]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Member Details|Set Member Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Record Affiliate Click|Record Affiliate Click]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_misc_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Misc.&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Rules]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Freeform Date|Freeform Date]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Rewards Admin|Rewards Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Custom Signup]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offeritcode]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Tracking in Offerit]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Logos]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Void Conversions Remotely]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_troubleshooting_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Troubleshooting&lt;br /&gt;
    |-&lt;br /&gt;
    | [[offerit Common Errors|Common Errors]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Fix Graphs|Fix Graphs]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Auto Login]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[AutoLogin Cookie]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Expired License]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Zend License]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[CAPTCHA]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Zip Files in Internet Explorer]]&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_extras_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | offerit Extras&lt;br /&gt;
    |-&lt;br /&gt;
    | [[offeritid]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Remote Affiliate Authentication|Remote Affiliate Authentication]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Shopping Cart Sales|Shopping Cart Sales]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Moving Landing Pages, Customers' Area, and Galleries]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Admin Areas]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Extended Sales]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[offerit Code Wordpress Plugin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Error_message_display]]&lt;br /&gt;
    |-&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
|}&amp;lt;includeonly&amp;gt;[[Category:Offerit]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Click_Detail&amp;diff=3927</id>
		<title>Offerit REST API Click Detail</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Click_Detail&amp;diff=3927"/>
				<updated>2018-08-31T18:46:45Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit Manual | show_rest_api_section = true }} == '''GET /transaction/click_detail''' == '''Description'''  *The  api/transaction/click_detail action is a feature in Offer...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''GET /transaction/click_detail''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*The  api/transaction/click_detail action is a feature in Offerit that allows you to retrieve details able a recent click based on the click_hash&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/transaction/click_detail&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the offerit domain&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*GET&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
'''Paremeters must be sent with the request body. The examples below show the parameters sent as x-www-form-urlencoded'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''You need to pass either transaction_hash or subscription_id or orderid for customer lookup otherwise the call will fail'''&lt;br /&gt;
&lt;br /&gt;
*transaction_hash is used to pass in the click_hash of the click you are looking up, or the transaction_hash of an already converted transaction.&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''required'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''GET'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://domain/api/transaction/click_detail&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$curl = curl_init();&lt;br /&gt;
&lt;br /&gt;
$data = array(&lt;br /&gt;
    'transaction_hash' =&amp;gt; '35b71a300115be9.16738986',&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$url = 'http://domain/api/transaction/click_detail';&lt;br /&gt;
&lt;br /&gt;
$headers = array(&lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
    'api-username: offerit_admin'&lt;br /&gt;
);&lt;br /&gt;
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &amp;quot;GET&amp;quot;);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);&lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));&lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
&lt;br /&gt;
$resp = curl_exec($curl);&lt;br /&gt;
//dumps an associative array representation of the json&lt;br /&gt;
var_dump(json_decode($resp, true));&lt;br /&gt;
// Close request to clear up some resources&lt;br /&gt;
curl_close($curl);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Python'''&lt;br /&gt;
*This example requires pip and the request library which can be installed via pip by: 'pip install requests'&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import requests&lt;br /&gt;
import json&lt;br /&gt;
&lt;br /&gt;
url = 'http://domain/api/transaction/click_detail'&lt;br /&gt;
&lt;br /&gt;
payload = {&lt;br /&gt;
    'transaction_hash': '35b71a300115be9.16738986',&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
headers = {&lt;br /&gt;
        'api-key': '44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
        'api-username': 'offerit_admin'&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
res = requests.GET(url, data=payload, headers=headers)&lt;br /&gt;
print res.json()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''node.js'''&lt;br /&gt;
*This example requires npm and the request module which can be installed via npm by: 'npm install request'&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
var request = require('request');&lt;br /&gt;
&lt;br /&gt;
data = {&lt;br /&gt;
    'transaction_hash': '35b71a300115be9.16738986',&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var options = {&lt;br /&gt;
    url: 'http://domain/api/transaction/click_detail',&lt;br /&gt;
    method: 'GET',&lt;br /&gt;
    form: data,&lt;br /&gt;
    json: true,&lt;br /&gt;
    headers: {&lt;br /&gt;
        'api-key': '44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
        'api-username': 'offerit_admin'&lt;br /&gt;
    }&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
function callback(error, response, body) {&lt;br /&gt;
    if (!error &amp;amp;&amp;amp; response.statusCode == 200) {&lt;br /&gt;
        console.log(body);&lt;br /&gt;
    }&lt;br /&gt;
    else{&lt;br /&gt;
        console.log(body);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
request(options, callback);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Curl'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
curl -X GET 'http://domain/api/transaction/click_detail' -H &amp;quot;api-key: 44b5498dbcb481a0d00b404c0169af62&amp;quot; -H &amp;quot;api-username: offerit_admin&amp;quot; -H &amp;quot;Content-Type: application/x-www-form-urlencoded&amp;quot; -d 'transaction_hash=35b71a300115be9.16738986'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Forget_Customer&amp;diff=3926</id>
		<title>Offerit REST API Forget Customer</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Forget_Customer&amp;diff=3926"/>
				<updated>2018-08-31T18:46:15Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit Manual | show_rest_api_section = true }} == '''PATCH /customer/forget''' == '''Description'''  *The  api/customer/forget action is a feature in Offerit that allows y...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''PATCH /customer/forget''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*The  api/customer/forget action is a feature in Offerit that allows you to forget identifying details of a customer&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/customer/forget&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the offerit domain&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*PATCH&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
'''Paremeters must be sent with the request body. The examples below show the parameters sent as x-www-form-urlencoded'''&lt;br /&gt;
&lt;br /&gt;
'''You need to pass either customer_id or subscription_id or orderid for customer lookup otherwise the call will fail'''&lt;br /&gt;
&lt;br /&gt;
*customer_id is used to pass in the customer_id of the customer to modify&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
*subscription_id is used to pass in the subscription of the customer to modify&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
*orderid is used to pass in the event id of one of the transactions associated with the customer to modify&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
*keep - Comma separated list of fields to preserve&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
**'''''possible field names:''''' &lt;br /&gt;
***username&lt;br /&gt;
***email&lt;br /&gt;
***token_hash&lt;br /&gt;
***original_username&lt;br /&gt;
***password&lt;br /&gt;
***cryptpass&lt;br /&gt;
***session&lt;br /&gt;
***firstname&lt;br /&gt;
***lastname&lt;br /&gt;
***address1&lt;br /&gt;
***address2&lt;br /&gt;
***city&lt;br /&gt;
***state&lt;br /&gt;
***zip&lt;br /&gt;
***country&lt;br /&gt;
***shipping_firstname&lt;br /&gt;
***shipping_lastname&lt;br /&gt;
***shipping_address1&lt;br /&gt;
***shipping_address2&lt;br /&gt;
***shipping_zip&lt;br /&gt;
***shipping_city&lt;br /&gt;
***shipping_state&lt;br /&gt;
***shipping_country&lt;br /&gt;
***phone&lt;br /&gt;
**'''''possible table names:''''' &lt;br /&gt;
***member_auth&lt;br /&gt;
***member_note&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''PATCH'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://domain/api/customer/forget&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$curl = curl_init();&lt;br /&gt;
&lt;br /&gt;
$data = array(&lt;br /&gt;
    'customer_id' =&amp;gt; 191,&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$url = 'http://domain/api/customer/forget';&lt;br /&gt;
&lt;br /&gt;
$headers = array(&lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
    'api-username: offerit_admin'&lt;br /&gt;
);&lt;br /&gt;
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &amp;quot;PATCH&amp;quot;);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);&lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));&lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
&lt;br /&gt;
$resp = curl_exec($curl);&lt;br /&gt;
//dumps an associative array representation of the json&lt;br /&gt;
var_dump(json_decode($resp, true));&lt;br /&gt;
// Close request to clear up some resources&lt;br /&gt;
curl_close($curl);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Python'''&lt;br /&gt;
*This example requires pip and the request library which can be installed via pip by: 'pip install requests'&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import requests&lt;br /&gt;
import json&lt;br /&gt;
&lt;br /&gt;
url = 'http://domain/api/customer/forget'&lt;br /&gt;
&lt;br /&gt;
payload = {&lt;br /&gt;
    'customer_id': 191,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
headers = {&lt;br /&gt;
        'api-key': '44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
        'api-username': 'offerit_admin'&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
res = requests.patch(url, data=payload, headers=headers)&lt;br /&gt;
print res.json()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''node.js'''&lt;br /&gt;
*This example requires npm and the request module which can be installed via npm by: 'npm install request'&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
var request = require('request');&lt;br /&gt;
&lt;br /&gt;
data = {&lt;br /&gt;
    'customer_id': 191,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var options = {&lt;br /&gt;
    url: 'http://domain/api/customer/forget',&lt;br /&gt;
    method: 'PATCH',&lt;br /&gt;
    form: data,&lt;br /&gt;
    json: true,&lt;br /&gt;
    headers: {&lt;br /&gt;
        'api-key': '44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
        'api-username': 'offerit_admin'&lt;br /&gt;
    }&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
function callback(error, response, body) {&lt;br /&gt;
    if (!error &amp;amp;&amp;amp; response.statusCode == 200) {&lt;br /&gt;
        console.log(body);&lt;br /&gt;
    }&lt;br /&gt;
    else{&lt;br /&gt;
        console.log(body);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
request(options, callback);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Curl'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
curl -X PATCH 'http://domain/api/customer/forget' -H &amp;quot;api-key: 44b5498dbcb481a0d00b404c0169af62&amp;quot; -H &amp;quot;api-username: offerit_admin&amp;quot; -H &amp;quot;Content-Type: application/x-www-form-urlencoded&amp;quot; -d 'customer_id=191'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Export_Customer&amp;diff=3925</id>
		<title>Offerit REST API Export Customer</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Export_Customer&amp;diff=3925"/>
				<updated>2018-08-31T18:45:53Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit Manual | show_rest_api_section = true }} == '''GET /customer/export''' == '''Description'''  *The  api/customer/export action is a feature in Offerit that allows you...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''GET /customer/export''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*The  api/customer/export action is a feature in Offerit that allows you to export customer information&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/customer/export&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the offerit domain&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*GET&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
'''Paremeters must be sent with the request body. The examples below show the parameters sent as x-www-form-urlencoded'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''You need to pass either customer_id or subscription_id or orderid for customer lookup otherwise the call will fail'''&lt;br /&gt;
&lt;br /&gt;
*customer_id is used to pass in the customer_id of the customer to return&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
*subscription_id is used to pass in the subscription of the customer to return&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
*orderid is used to pass in the event id of one of the transactions associated with the customer to return&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''GET'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://domain/api/customer/export&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$curl = curl_init();&lt;br /&gt;
&lt;br /&gt;
$data = array(&lt;br /&gt;
    'customer_id' =&amp;gt; 191,&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$url = 'http://domain/api/customer/export';&lt;br /&gt;
&lt;br /&gt;
$headers = array(&lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
    'api-username: offerit_admin'&lt;br /&gt;
);&lt;br /&gt;
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &amp;quot;GET&amp;quot;);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);&lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));&lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
&lt;br /&gt;
$resp = curl_exec($curl);&lt;br /&gt;
//dumps an associative array representation of the json&lt;br /&gt;
var_dump(json_decode($resp, true));&lt;br /&gt;
// Close request to clear up some resources&lt;br /&gt;
curl_close($curl);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Python'''&lt;br /&gt;
*This example requires pip and the request library which can be installed via pip by: 'pip install requests'&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import requests&lt;br /&gt;
import json&lt;br /&gt;
&lt;br /&gt;
url = 'http://domain/api/customer/export'&lt;br /&gt;
&lt;br /&gt;
payload = {&lt;br /&gt;
    'customer_id': 191,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
headers = {&lt;br /&gt;
        'api-key': '44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
        'api-username': 'offerit_admin'&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
res = requests.GET(url, data=payload, headers=headers)&lt;br /&gt;
print res.json()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''node.js'''&lt;br /&gt;
*This example requires npm and the request module which can be installed via npm by: 'npm install request'&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
var request = require('request');&lt;br /&gt;
&lt;br /&gt;
data = {&lt;br /&gt;
    'customer_id': 191,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var options = {&lt;br /&gt;
    url: 'http://domain/api/customer/export',&lt;br /&gt;
    method: 'GET',&lt;br /&gt;
    form: data,&lt;br /&gt;
    json: true,&lt;br /&gt;
    headers: {&lt;br /&gt;
        'api-key': '44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
        'api-username': 'offerit_admin'&lt;br /&gt;
    }&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
function callback(error, response, body) {&lt;br /&gt;
    if (!error &amp;amp;&amp;amp; response.statusCode == 200) {&lt;br /&gt;
        console.log(body);&lt;br /&gt;
    }&lt;br /&gt;
    else{&lt;br /&gt;
        console.log(body);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
request(options, callback);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Curl'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
curl -X GET 'http://domain/api/customer/export' -H &amp;quot;api-key: 44b5498dbcb481a0d00b404c0169af62&amp;quot; -H &amp;quot;api-username: offerit_admin&amp;quot; -H &amp;quot;Content-Type: application/x-www-form-urlencoded&amp;quot; -d 'customer_id=191'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Unlock_Customer&amp;diff=3924</id>
		<title>Offerit REST API Unlock Customer</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Unlock_Customer&amp;diff=3924"/>
				<updated>2018-08-31T18:45:26Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit Manual | show_rest_api_section = true }} == '''PATCH /customer/unlock''' == '''Description'''  *The  api/customer/unlock action is a feature in Offerit that allows y...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''PATCH /customer/unlock''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*The  api/customer/unlock action is a feature in Offerit that allows you to unlock a locked  customer so it can be edited by Offerit&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/customer/unlock&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the offerit domain&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*PATCH&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
'''Paremeters must be sent with the request body. The examples below show the parameters sent as x-www-form-urlencoded'''&lt;br /&gt;
&lt;br /&gt;
'''You need to pass either customer_id or subscription_id or orderid for customer lookup otherwise the call will fail'''&lt;br /&gt;
&lt;br /&gt;
*customer_id is used to pass in the customer_id of the customer to modify&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
*subscription_id is used to pass in the subscription of the customer to modify&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
*orderid is used to pass in the event id of one of the transactions associated with the customer to modify&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''PATCH'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://domain/api/customer/unlock&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$curl = curl_init();&lt;br /&gt;
&lt;br /&gt;
$data = array(&lt;br /&gt;
    'customer_id' =&amp;gt; 191,&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$url = 'http://domain/api/customer/unlock';&lt;br /&gt;
&lt;br /&gt;
$headers = array(&lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
    'api-username: offerit_admin'&lt;br /&gt;
);&lt;br /&gt;
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &amp;quot;PATCH&amp;quot;);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);&lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));&lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
&lt;br /&gt;
$resp = curl_exec($curl);&lt;br /&gt;
//dumps an associative array representation of the json&lt;br /&gt;
var_dump(json_decode($resp, true));&lt;br /&gt;
// Close request to clear up some resources&lt;br /&gt;
curl_close($curl);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Python'''&lt;br /&gt;
*This example requires pip and the request library which can be installed via pip by: 'pip install requests'&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import requests&lt;br /&gt;
import json&lt;br /&gt;
&lt;br /&gt;
url = 'http://domain/api/customer/unlock'&lt;br /&gt;
&lt;br /&gt;
payload = {&lt;br /&gt;
    'customer_id': 191,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
headers = {&lt;br /&gt;
        'api-key': '44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
        'api-username': 'offerit_admin'&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
res = requests.patch(url, data=payload, headers=headers)&lt;br /&gt;
print res.json()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''node.js'''&lt;br /&gt;
*This example requires npm and the request module which can be installed via npm by: 'npm install request'&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
var request = require('request');&lt;br /&gt;
&lt;br /&gt;
data = {&lt;br /&gt;
    'customer_id': 191,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var options = {&lt;br /&gt;
    url: 'http://domain/api/customer/unlock',&lt;br /&gt;
    method: 'PATCH',&lt;br /&gt;
    form: data,&lt;br /&gt;
    json: true,&lt;br /&gt;
    headers: {&lt;br /&gt;
        'api-key': '44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
        'api-username': 'offerit_admin'&lt;br /&gt;
    }&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
function callback(error, response, body) {&lt;br /&gt;
    if (!error &amp;amp;&amp;amp; response.statusCode == 200) {&lt;br /&gt;
        console.log(body);&lt;br /&gt;
    }&lt;br /&gt;
    else{&lt;br /&gt;
        console.log(body);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
request(options, callback);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Curl'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
curl -X PATCH 'http://domain/api/customer/unlock' -H &amp;quot;api-key: 44b5498dbcb481a0d00b404c0169af62&amp;quot; -H &amp;quot;api-username: offerit_admin&amp;quot; -H &amp;quot;Content-Type: application/x-www-form-urlencoded&amp;quot; -d 'customer_id=191'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Lock_Customer&amp;diff=3923</id>
		<title>Offerit REST API Lock Customer</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Lock_Customer&amp;diff=3923"/>
				<updated>2018-08-31T18:44:57Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit Manual | show_rest_api_section = true }} == '''PATCH /customer/lock''' == '''Description'''  *The  api/customer/lock action is a feature in Offerit that allows you t...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''PATCH /customer/lock''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*The  api/customer/lock action is a feature in Offerit that allows you to lock a customer so it can't be edited by Offerit.  It can still be updated based on posts from the advertiser. &lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/customer/lock&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the offerit domain&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*PATCH&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
'''Paremeters must be sent with the request body. The examples below show the parameters sent as x-www-form-urlencoded'''&lt;br /&gt;
&lt;br /&gt;
'''You need to pass either customer_id or subscription_id or orderid for customer lookup otherwise the call will fail'''&lt;br /&gt;
&lt;br /&gt;
*customer_id is used to pass in the customer_id of the customer to modify&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
*subscription_id is used to pass in the subscription of the customer to modify&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
*orderid is used to pass in the event id of one of the transactions associated with the customer to modify&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''optional'''&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''PATCH'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://domain/api/customer/lock&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
true&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$curl = curl_init();&lt;br /&gt;
&lt;br /&gt;
$data = array(&lt;br /&gt;
    'customer_id' =&amp;gt; 191,&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$url = 'http://domain/api/customer/lock';&lt;br /&gt;
&lt;br /&gt;
$headers = array(&lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
    'api-username: offerit_admin'&lt;br /&gt;
);&lt;br /&gt;
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &amp;quot;PATCH&amp;quot;);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);&lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));&lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
&lt;br /&gt;
$resp = curl_exec($curl);&lt;br /&gt;
//dumps an associative array representation of the json&lt;br /&gt;
var_dump(json_decode($resp, true));&lt;br /&gt;
// Close request to clear up some resources&lt;br /&gt;
curl_close($curl);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Python'''&lt;br /&gt;
*This example requires pip and the request library which can be installed via pip by: 'pip install requests'&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
import requests&lt;br /&gt;
import json&lt;br /&gt;
&lt;br /&gt;
url = 'http://domain/api/customer/lock'&lt;br /&gt;
&lt;br /&gt;
payload = {&lt;br /&gt;
    'customer_id': 191,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
headers = {&lt;br /&gt;
        'api-key': '44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
        'api-username': 'offerit_admin'&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
res = requests.patch(url, data=payload, headers=headers)&lt;br /&gt;
print res.json()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''node.js'''&lt;br /&gt;
*This example requires npm and the request module which can be installed via npm by: 'npm install request'&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
var request = require('request');&lt;br /&gt;
&lt;br /&gt;
data = {&lt;br /&gt;
    'customer_id': 191,&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
var options = {&lt;br /&gt;
    url: 'http://domain/api/customer/lock',&lt;br /&gt;
    method: 'PATCH',&lt;br /&gt;
    form: data,&lt;br /&gt;
    json: true,&lt;br /&gt;
    headers: {&lt;br /&gt;
        'api-key': '44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
        'api-username': 'offerit_admin'&lt;br /&gt;
    }&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
function callback(error, response, body) {&lt;br /&gt;
    if (!error &amp;amp;&amp;amp; response.statusCode == 200) {&lt;br /&gt;
        console.log(body);&lt;br /&gt;
    }&lt;br /&gt;
    else{&lt;br /&gt;
        console.log(body);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
request(options, callback);&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Curl'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
curl -X PATCH 'http://domain/api/customer/lock' -H &amp;quot;api-key: 44b5498dbcb481a0d00b404c0169af62&amp;quot; -H &amp;quot;api-username: offerit_admin&amp;quot; -H &amp;quot;Content-Type: application/x-www-form-urlencoded&amp;quot; -d 'customer_id=191'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Affiliate_Remote_Login&amp;diff=3786</id>
		<title>Affiliate Remote Login</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Affiliate_Remote_Login&amp;diff=3786"/>
				<updated>2017-11-28T15:56:14Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_affiliate_area_section = true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
You can create a custom form for affiliates to log in to your Offerit installation.  All that is needed is to create a form that submits to the following url:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://&amp;lt;tracking domain&amp;gt;/internal.php&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You would replace &amp;lt;tracking domain&amp;gt; with the [[Ct#Tracking Domain|Tracking Domain]] of your Offerit install.  The only variables that need to be sent for a successful login with the post are &amp;quot;user&amp;quot; and &amp;quot;pass&amp;quot;.  If the user is submitting fails to enter the correct login information they and they are posting from the tracking domain of your offerit install they will be redirected to the external login page of your offerit install.  Otherwise they will receive an error response regarding why their login was unsuccessful.&lt;br /&gt;
&lt;br /&gt;
Here is a basic example of what this form may look like.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;!-- Simple form to post to Offerit and login --&amp;gt;&lt;br /&gt;
&amp;lt;form action=&amp;quot;http://example.offerit.com/internal.php&amp;quot; method=&amp;quot;post&amp;quot;&amp;gt;&lt;br /&gt;
	Username: &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;user&amp;quot; /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
	Password: &amp;lt;input type=&amp;quot;password&amp;quot; name=&amp;quot;pass&amp;quot; /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
	&amp;lt;input type=&amp;quot;submit&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Displaying your own error page&amp;lt;/h3&amp;gt;&lt;br /&gt;
If you prefer to display your own errors, you can send a post to verify the username and password are correct before sending the user.  For instance use javascript to handle the form submission and send an ajax post to a validation script like this one:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$response = array(&lt;br /&gt;
  'result' =&amp;gt; 'fail'&lt;br /&gt;
 );&lt;br /&gt;
 if ( ! empty( $_POST['user'] ) &amp;amp;&amp;amp; ! empty( $_POST['pass'] ) &amp;amp;&amp;amp; check_length( $_POST['user'], 2, 255 ) &amp;amp;&amp;amp; check_length( $_POST['pass'], 3, 255 ) ) {&lt;br /&gt;
  $response_headers = get_headers( AFFILIATE_URL . '/internal.php?user=' . $_POST['user'] . '&amp;amp;pass=' . $_POST['pass'] . '', 1 );&lt;br /&gt;
  if ( array_key_exists( 'Location', $response_headers ) &amp;amp;&amp;amp; $response_headers[0] == 'HTTP/1.1 302 Found' ) {&lt;br /&gt;
   $response = array(&lt;br /&gt;
    'result' =&amp;gt; 'success'&lt;br /&gt;
   );&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
If the post returns success, you can let the form submit like normal.  If the post returns error, you can tell the surfer to try again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3&amp;gt;Displaying Forgot Password&amp;lt;/h3&amp;gt;&lt;br /&gt;
Similarly, you can trigger forgot password from your own page and check for your own errors by making it an ajax call instead of a direct form submission.  The post script might look like this one:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$response = array(&lt;br /&gt;
  'result' =&amp;gt; 'fail'&lt;br /&gt;
 );&lt;br /&gt;
 parse_str( $_POST['formdata'], $data );&lt;br /&gt;
 $curl = curl_init();&lt;br /&gt;
 curl_setopt( $curl, CURLOPT_URL, AFFILIATE_URL . '/submit.php' );&lt;br /&gt;
 curl_setopt( $curl, CURLOPT_RETURNTRANSFER, true );&lt;br /&gt;
 curl_setopt( $curl, CURLOPT_POST, true );&lt;br /&gt;
 curl_setopt( $curl, CURLOPT_POSTFIELDS, http_build_query( $data ) );&lt;br /&gt;
 $response['response'] = curl_exec( $curl );&lt;br /&gt;
 $header               = curl_getinfo( $curl, CURLINFO_HTTP_CODE );&lt;br /&gt;
 curl_close( $curl );&lt;br /&gt;
 preg_match( '#&amp;lt;div class=&amp;quot;action-details&amp;quot;&amp;gt;(.+?)&amp;lt;/div&amp;gt;#is', $response['response'], $found );&lt;br /&gt;
 if ( $header === 302 ) {&lt;br /&gt;
  $response = array(&lt;br /&gt;
   'result'  =&amp;gt; 'success',&lt;br /&gt;
   'message' =&amp;gt; 'An email has been sent with your new password. ',&lt;br /&gt;
   'header'  =&amp;gt; $header&lt;br /&gt;
  );&lt;br /&gt;
 }&lt;br /&gt;
 if ( $header === 200 ) {&lt;br /&gt;
  if ( $found ) {&lt;br /&gt;
   $response = array(&lt;br /&gt;
    'result'  =&amp;gt; 'error',&lt;br /&gt;
    'message' =&amp;gt; $found[1],&lt;br /&gt;
    'header'  =&amp;gt; $header&lt;br /&gt;
   );&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit Affiliate Information]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Link_Groups&amp;diff=3733</id>
		<title>Link Groups</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Link_Groups&amp;diff=3733"/>
				<updated>2017-06-16T15:50:28Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_for_affiliates_section = true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A Link Group is a way for an affiliate to split traffic across multiple different destinations.  This split can be targeted, optimized, or random.  Link groups get their own tracking link and support pass through and dynamic values just the same as regular tracking links.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Performance Metrics==&lt;br /&gt;
===Random===&lt;br /&gt;
Random is the simplest link group.  You add links to the group and traffic is randomly distributed across all links in the group.  This is not affected by percentage random or any other settings&lt;br /&gt;
&lt;br /&gt;
===Optimized===&lt;br /&gt;
Optimized links choose the best performing link based on your specified performance criteria. You may base your optimization on epc, rate of conversion, or rate for custom event types if any exist.&lt;br /&gt;
*'''Stats Scope''' - Specifies if you want to consider all of your traffic, all of the traffic network wide, or just traffic to this specific group.&lt;br /&gt;
*'''Stats Date Range''' - Specifies the time range to include in the optimization.&lt;br /&gt;
*'''Hit Threshold''' - Specifies the minimum number of hits required for each of the possible landing pages before the best performing link will be used.&lt;br /&gt;
*'''Percent Random''' - Specifies what percentage of traffic will continue to to be distributed randomly while the rest of the traffic is optimized.&lt;br /&gt;
&lt;br /&gt;
===Targeted===&lt;br /&gt;
Targeted links allow you to direct traffic based on date and time, country, and device type. Links get added to the individual targets just like you add them to any other link group.&lt;br /&gt;
*'''Hours''' - Restricts this target to only specific hours of the day&lt;br /&gt;
*'''Days''' - Restricts this target to only specific days of the week&lt;br /&gt;
*'''Authorized / Unauthorized Countries''' - Restricts this target to geoip location&lt;br /&gt;
*'''Device Type''' - Restricts&lt;br /&gt;
&lt;br /&gt;
Targeted links can be either randomly distributed or optimized by epc.&lt;br /&gt;
&lt;br /&gt;
==Adding Links==&lt;br /&gt;
There are three places to add links to an existing group:&amp;lt;br&amp;gt;&lt;br /&gt;
1) From the link groups page,  paste a link, choose a group, confirm that it is correct and hit 'Add Link to Group'.&amp;lt;br&amp;gt;&lt;br /&gt;
2) From the edit link group page, click 'Add a New Link'. Paste in the link, confirm that it is correct and hit 'Add Link to Group'.&amp;lt;br&amp;gt;&lt;br /&gt;
3) From the linkcodes page for a specific offer, click 'Group'.  This will bring you to th link groups page from method 1 with the link already in place.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Deep Linking ==&lt;br /&gt;
Individual links can have deep links hard coded into them. For example, using the following linkcode to link to &amp;lt;nowiki&amp;gt;http://example.offerit.com/landing_page1.html&amp;lt;/nowiki&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit.com/track/MjozOjE/landing_page1.html&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Affiliates can also manipulate the query string. For example, the affiliate can pass the variable ''extra_var=1234'' to a landing page by appending a question mark and the variable assignment to their linkcode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit.com/track/MjozOjE/?extra_var=1234 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly you can deep link the link group tracking link and have the details pushed through to the individual links&lt;br /&gt;
For Example &amp;lt;nowiki&amp;gt;http://example.offerit.com/lgtrack/Mi4z?ocid=xxx&amp;lt;/nowiki&amp;gt; will go to &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit/com/track/yourlink?_ocid=xxx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Model Link Group ==&lt;br /&gt;
An admin can flag one link group as the 'model' to use for other affiliates without manually setting it up on each account.&lt;br /&gt;
Once a model has been chosen, you can continue to edit that model, and either push those changes to all affiliates using the model, or update specific affiliate accounts to check for changes.  From the admin you can create the model link group on any affiliate that does not already have it. There is also a config option to create the model link group on all new affiliate accounts. &lt;br /&gt;
[[Category:Offerit Affiliate Information]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Link_Groups&amp;diff=3732</id>
		<title>Link Groups</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Link_Groups&amp;diff=3732"/>
				<updated>2017-06-16T15:44:00Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: /* Targeted */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_for_affiliates_section = true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A Link Group is a way for an affiliate to split traffic across multiple different destinations.  This split can be targeted, optimized, or random.  Link groups get their own tracking link and support pass through and dynamic values just the same as regular tracking links.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Performance Metrics==&lt;br /&gt;
===Random===&lt;br /&gt;
Random is the simplest link group.  You add links to the group and traffic is randomly distributed across all links in the group.  This is not affected by percentage random or any other settings&lt;br /&gt;
&lt;br /&gt;
===Optimized===&lt;br /&gt;
Optimized links choose the best performing link based on your specified performance criteria. You may base your optimization on epc, rate of conversion, or rate for custom event types if any exist.&lt;br /&gt;
*'''Stats Scope''' - Specifies if you want to consider all of your traffic, all of the traffic network wide, or just traffic to this specific group.&lt;br /&gt;
*'''Stats Date Range''' - Specifies the time range to include in the optimization.&lt;br /&gt;
*'''Hit Threshold''' - Specifies the minimum number of hits required for each of the possible landing pages before the best performing link will be used.&lt;br /&gt;
*'''Percent Random''' - Specifies what percentage of traffic will continue to to be distributed randomly while the rest of the traffic is optimized.&lt;br /&gt;
&lt;br /&gt;
===Targeted===&lt;br /&gt;
Targeted links allow you to direct traffic based on date and time, country, and device type. Links get added to the individual targets just like you add them to any other link group.&lt;br /&gt;
*'''Hours''' - Restricts this target to only specific hours of the day&lt;br /&gt;
*'''Days''' - Restricts this target to only specific days of the week&lt;br /&gt;
*'''Authorized / Unauthorized Countries''' - Restricts this target to geoip location&lt;br /&gt;
*'''Device Type''' - Restricts&lt;br /&gt;
&lt;br /&gt;
Targeted links can be either randomly distributed or optimized by epc.&lt;br /&gt;
&lt;br /&gt;
==Adding Links==&lt;br /&gt;
There are three places to add links to an existing group:&amp;lt;br&amp;gt;&lt;br /&gt;
1) From the link groups page,  paste a link, choose a group, confirm that it is correct and hit 'Add Link to Group'.&amp;lt;br&amp;gt;&lt;br /&gt;
2) From the edit link group page, click 'Add a New Link'. Paste in the link, confirm that it is correct and hit 'Add Link to Group'.&amp;lt;br&amp;gt;&lt;br /&gt;
3) From the linkcodes page for a specific offer, click 'Group'.  This will bring you to th link groups page from method 1 with the link already in place.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Deep Linking ==&lt;br /&gt;
Individual links can have deep links hard coded into them. For example, using the following linkcode to link to &amp;lt;nowiki&amp;gt;http://example.offerit.com/landing_page1.html&amp;lt;/nowiki&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit.com/track/MjozOjE/landing_page1.html&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Affiliates can also manipulate the query string. For example, the affiliate can pass the variable ''extra_var=1234'' to a landing page by appending a question mark and the variable assignment to their linkcode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit.com/track/MjozOjE/?extra_var=1234 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly you can deep link the link group tracking link and have the details pushed through to the individual links&lt;br /&gt;
For Example &amp;lt;nowiki&amp;gt;http://example.offerit.com/lgtrack/Mi4z?ocid=xxx&amp;lt;/nowiki&amp;gt; will go to &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit/com/track/yourlink?_ocid=xxx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category:Offerit Affiliate Information]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Link_Groups&amp;diff=3731</id>
		<title>Link Groups</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Link_Groups&amp;diff=3731"/>
				<updated>2017-06-16T15:42:57Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: /* Random */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_for_affiliates_section = true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A Link Group is a way for an affiliate to split traffic across multiple different destinations.  This split can be targeted, optimized, or random.  Link groups get their own tracking link and support pass through and dynamic values just the same as regular tracking links.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Performance Metrics==&lt;br /&gt;
===Random===&lt;br /&gt;
Random is the simplest link group.  You add links to the group and traffic is randomly distributed across all links in the group.  This is not affected by percentage random or any other settings&lt;br /&gt;
&lt;br /&gt;
===Optimized===&lt;br /&gt;
Optimized links choose the best performing link based on your specified performance criteria. You may base your optimization on epc, rate of conversion, or rate for custom event types if any exist.&lt;br /&gt;
*'''Stats Scope''' - Specifies if you want to consider all of your traffic, all of the traffic network wide, or just traffic to this specific group.&lt;br /&gt;
*'''Stats Date Range''' - Specifies the time range to include in the optimization.&lt;br /&gt;
*'''Hit Threshold''' - Specifies the minimum number of hits required for each of the possible landing pages before the best performing link will be used.&lt;br /&gt;
*'''Percent Random''' - Specifies what percentage of traffic will continue to to be distributed randomly while the rest of the traffic is optimized.&lt;br /&gt;
&lt;br /&gt;
===Targeted===&lt;br /&gt;
Targeted links allow you to direct traffic based on date and time, country, and device type. Links get added to the individual targets just like you add them to any other link group.&lt;br /&gt;
*'''Hours''' - Restricts this target to only specific hours of the day&lt;br /&gt;
*'''Days''' - Restricts this target to only specific days of the week&lt;br /&gt;
*'''Authorized / Unauthorized Countries''' - Restricts this target to geoip location&lt;br /&gt;
*'''Device Type''' - Restricts &lt;br /&gt;
&lt;br /&gt;
==Adding Links==&lt;br /&gt;
There are three places to add links to an existing group:&amp;lt;br&amp;gt;&lt;br /&gt;
1) From the link groups page,  paste a link, choose a group, confirm that it is correct and hit 'Add Link to Group'.&amp;lt;br&amp;gt;&lt;br /&gt;
2) From the edit link group page, click 'Add a New Link'. Paste in the link, confirm that it is correct and hit 'Add Link to Group'.&amp;lt;br&amp;gt;&lt;br /&gt;
3) From the linkcodes page for a specific offer, click 'Group'.  This will bring you to th link groups page from method 1 with the link already in place.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Deep Linking ==&lt;br /&gt;
Individual links can have deep links hard coded into them. For example, using the following linkcode to link to &amp;lt;nowiki&amp;gt;http://example.offerit.com/landing_page1.html&amp;lt;/nowiki&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit.com/track/MjozOjE/landing_page1.html&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Affiliates can also manipulate the query string. For example, the affiliate can pass the variable ''extra_var=1234'' to a landing page by appending a question mark and the variable assignment to their linkcode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit.com/track/MjozOjE/?extra_var=1234 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly you can deep link the link group tracking link and have the details pushed through to the individual links&lt;br /&gt;
For Example &amp;lt;nowiki&amp;gt;http://example.offerit.com/lgtrack/Mi4z?ocid=xxx&amp;lt;/nowiki&amp;gt; will go to &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit/com/track/yourlink?_ocid=xxx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category:Offerit Affiliate Information]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Blocked_Traffic_Reasons&amp;diff=3632</id>
		<title>Blocked Traffic Reasons</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Blocked_Traffic_Reasons&amp;diff=3632"/>
				<updated>2017-04-13T13:43:52Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;==banned.php== The default destination for undeliverable traffic is banned.php on the same domain as the tracking link. This can be changed under the Fraud section of the conf...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==banned.php==&lt;br /&gt;
The default destination for undeliverable traffic is banned.php on the same domain as the tracking link. This can be changed under the Fraud section of the configuration admin.&lt;br /&gt;
&lt;br /&gt;
==Blocked Reasons==&lt;br /&gt;
*1: Blacklisted IP (manual) -- Check IP Blacklist Admin&lt;br /&gt;
*2: Blacklisted IP (automated) -- Check IP Blacklist Admin&lt;br /&gt;
*3: Fraud / Proxy Blocked -- Check proxy detection settings&lt;br /&gt;
*4: Geo IP restrition -- Check authorized countries for the offer&lt;br /&gt;
*5: Returning Surfer -- Check offer for either prevent cookie duplicates or prevent duplicate ip conversions&lt;br /&gt;
*6: Offer Unavailable -- Check start and end dates for offer and landing page&lt;br /&gt;
*7: Infinite Redirect -- Check for redirects that form loops&lt;br /&gt;
*8: Disallowed Affiliate -- Check that the affiliate is allowed in the landing page.&lt;br /&gt;
*9: Bad Link -- Check the affiliates link - usually means there is a &amp;amp; where there should be a ?&lt;br /&gt;
*10: Empty Link Group -- Make sure there are link items in this link group.&lt;br /&gt;
*11L Blacklisted Domain -- Fraud settings are blocking traffic based on the domain of the referring url.&lt;br /&gt;
*12: Banned subaffiliate -- The subaffiliate for this link has been blocked.&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Get_Single_Link&amp;diff=3631</id>
		<title>Offerit REST API Get Single Link</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Get_Single_Link&amp;diff=3631"/>
				<updated>2017-03-23T22:14:01Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit  Manual | show_rest_api_section = true }} == '''GET /affiliate/get_single_link''' == '''Description'''  *Gets the default affiliate tracking link for an offer.  Opti...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit  Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''GET /affiliate/get_single_link''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*Gets the default affiliate tracking link for an offer.  Optionally lets you specify an individual landing page.&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/affiliate/get_single_link&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*GET&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
*loginid&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''required'''&lt;br /&gt;
** affiliate to get link for&lt;br /&gt;
*offerid&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''required'''&lt;br /&gt;
** offer to get link for&lt;br /&gt;
*landing_pageid&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
** Optional landing page to get link for.  Defaults to default lander for the offer.&lt;br /&gt;
*style&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''options: encoded,ids,shortnames,tiny'''''&lt;br /&gt;
** Optional link style. Defaults to encoded.&lt;br /&gt;
*subaff&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff value. Defaults to none.&lt;br /&gt;
*subaff2&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff2 value. Defaults to none.&lt;br /&gt;
*subaff3&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff3 value. Defaults to none.&lt;br /&gt;
*subaff4&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff4 value. Defaults to none.&lt;br /&gt;
*subaff5&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff5 value. Defaults to none.&lt;br /&gt;
*subids&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional comma separated list of subids. Defaults to none.&lt;br /&gt;
*_ocid&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional click id value. Defaults to none.&lt;br /&gt;
*code_only&lt;br /&gt;
**'''''type: Bool'''''&lt;br /&gt;
** Optional - returns only the code from the tracking link. Defaults to full url.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''GET'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;http://domain/api/affiliate/get_single_link?loginid=2&amp;amp;offerid=1&amp;amp;subaff=test&amp;amp;_ocid={token}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;result&amp;quot;:&amp;quot;Success&amp;quot;,&lt;br /&gt;
  &amp;quot;message&amp;quot;:&amp;quot;http:\/\/example.com\/track\/Mi4yNjguMjc3LjMwNC4wLjAuMC4wLjAuNjIuMC4w?subaff=test&amp;amp;_ocid={token}&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php &lt;br /&gt;
$url = 'http://domain/api/affiliate/get_single_link';&lt;br /&gt;
$curl = curl_init(); &lt;br /&gt;
 &lt;br /&gt;
$headers = array( &lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62', &lt;br /&gt;
    'api-username: productsupport' &lt;br /&gt;
); &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$data = Array(&lt;br /&gt;
  'loginid' =&amp;gt; 2,&lt;br /&gt;
  'offerid' =&amp;gt; 1,&lt;br /&gt;
  'subaff' =&amp;gt; 'test',&lt;br /&gt;
  '_ocid' =&amp;gt; '{token}'&lt;br /&gt;
);                                                   &lt;br /&gt;
&lt;br /&gt;
$data_string = http_build_query($data);&lt;br /&gt;
$url .= '?'.$data_string;&lt;br /&gt;
&lt;br /&gt;
curl_setopt($curl, CURLOPT_GET, 1);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); &lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); &lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url); &lt;br /&gt;
&lt;br /&gt;
                                                &lt;br /&gt;
$resp = curl_exec($curl); &lt;br /&gt;
//dumps an associative array representation of the json &lt;br /&gt;
var_dump(json_decode($resp, true)); &lt;br /&gt;
// Close request to clear up some resources &lt;br /&gt;
curl_close($curl); &lt;br /&gt;
?&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Get_Links&amp;diff=3630</id>
		<title>Offerit REST API Get Links</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Get_Links&amp;diff=3630"/>
				<updated>2017-03-23T22:13:10Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit  Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''GET /affiliate/get_links''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*Gets all tracking links for an affiliate.  Optionally lets you limit to a specific offer or landing page.&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/affiliate/get_links&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*GET&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
*loginid&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''required'''&lt;br /&gt;
** affiliate to get link for&lt;br /&gt;
*offerid&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
** Optional offer to get link for&lt;br /&gt;
*landing_pageid&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
** Optional landing page to get link for.  Defaults to default lander for the offer.&lt;br /&gt;
*style&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''options: encoded,ids,shortnames,tiny'''''&lt;br /&gt;
** Optional link style. Defaults to encoded.&lt;br /&gt;
*subaff&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff value. Defaults to none.&lt;br /&gt;
*subaff2&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff2 value. Defaults to none.&lt;br /&gt;
*subaff3&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff3 value. Defaults to none.&lt;br /&gt;
*subaff4&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff4 value. Defaults to none.&lt;br /&gt;
*subaff5&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff5 value. Defaults to none.&lt;br /&gt;
*subids&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional comma separated list of subids. Defaults to none.&lt;br /&gt;
*_ocid&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional click id value. Defaults to none.&lt;br /&gt;
*code_only&lt;br /&gt;
**'''''type: Bool'''''&lt;br /&gt;
** Optional - returns only the code from the tracking link. Defaults to full url.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''GET'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;http://domain/api/affiliate/get_links?loginid=2&amp;amp;offerid=1&amp;amp;subaff=test&amp;amp;_ocid={token}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;result&amp;quot;:&amp;quot;Success&amp;quot;,&lt;br /&gt;
  &amp;quot;message&amp;quot;:[&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;Offer Id&amp;quot;:277,&lt;br /&gt;
      &amp;quot;Offer Name&amp;quot;:&amp;quot;01dave&amp;quot;,&lt;br /&gt;
      &amp;quot;Landing Page Id&amp;quot;:425,&lt;br /&gt;
      &amp;quot;Landing Page Name&amp;quot;:&amp;quot;lp333&amp;quot;, &lt;br /&gt;
      &amp;quot;Code&amp;quot;:&amp;quot;http:\/\/example.com\/track\/Mi4yNjguMjc3LjQyNS4wLjAuMC4wLjAuNjIuMC4w?subaff=test&amp;amp;_ocid={token}&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;Offer Id&amp;quot;:277,&lt;br /&gt;
      &amp;quot;Offer Name&amp;quot;:&amp;quot;01dave&amp;quot;,&lt;br /&gt;
      &amp;quot;Landing Page Id&amp;quot;:304,&lt;br /&gt;
      &amp;quot;Landing Page Name&amp;quot;:&amp;quot;offerit offer&amp;quot;,&lt;br /&gt;
      &amp;quot;Code&amp;quot;:&amp;quot;http:\/\/example.com\/track\/Mi4yNjguMjc3LjMwNC4wLjAuMC4wLjAuNjIuMC4w?subaff=test&amp;amp;_ocid={token}&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
  ]&lt;br /&gt;
}  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php &lt;br /&gt;
$url = 'http://domain/api/affiliate/get_links';&lt;br /&gt;
$curl = curl_init(); &lt;br /&gt;
 &lt;br /&gt;
$headers = array( &lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62', &lt;br /&gt;
    'api-username: productsupport' &lt;br /&gt;
); &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$data = Array(&lt;br /&gt;
  'loginid' =&amp;gt; 2,&lt;br /&gt;
  'offerid' =&amp;gt; 1,&lt;br /&gt;
  'subaff' =&amp;gt; 'test',&lt;br /&gt;
  '_ocid' =&amp;gt; '{token}'&lt;br /&gt;
);                                                   &lt;br /&gt;
&lt;br /&gt;
$data_string = http_build_query($data);&lt;br /&gt;
$url .= '?'.$data_string;&lt;br /&gt;
&lt;br /&gt;
curl_setopt($curl, CURLOPT_GET, 1);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); &lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); &lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url); &lt;br /&gt;
&lt;br /&gt;
                                                &lt;br /&gt;
$resp = curl_exec($curl); &lt;br /&gt;
//dumps an associative array representation of the json &lt;br /&gt;
var_dump(json_decode($resp, true)); &lt;br /&gt;
// Close request to clear up some resources &lt;br /&gt;
curl_close($curl); &lt;br /&gt;
?&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Get_Links&amp;diff=3629</id>
		<title>Offerit REST API Get Links</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Get_Links&amp;diff=3629"/>
				<updated>2017-03-23T22:12:19Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit  Manual | show_api_admin_section = true }} == '''GET /affiliate/get_links''' == '''Description'''  *Gets all tracking links for an affiliate.  Optionally lets you li...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit  Manual&lt;br /&gt;
| show_api_admin_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''GET /affiliate/get_links''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*Gets all tracking links for an affiliate.  Optionally lets you limit to a specific offer or landing page.&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/affiliate/get_links&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*GET&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
*loginid&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
**'''''required'''&lt;br /&gt;
** affiliate to get link for&lt;br /&gt;
*offerid&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
** Optional offer to get link for&lt;br /&gt;
*landing_pageid&lt;br /&gt;
**'''''type: int'''''&lt;br /&gt;
** Optional landing page to get link for.  Defaults to default lander for the offer.&lt;br /&gt;
*style&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**'''''options: encoded,ids,shortnames,tiny'''''&lt;br /&gt;
** Optional link style. Defaults to encoded.&lt;br /&gt;
*subaff&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff value. Defaults to none.&lt;br /&gt;
*subaff2&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff2 value. Defaults to none.&lt;br /&gt;
*subaff3&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff3 value. Defaults to none.&lt;br /&gt;
*subaff4&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff4 value. Defaults to none.&lt;br /&gt;
*subaff5&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional subaff5 value. Defaults to none.&lt;br /&gt;
*subids&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional comma separated list of subids. Defaults to none.&lt;br /&gt;
*_ocid&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
** Optional click id value. Defaults to none.&lt;br /&gt;
*code_only&lt;br /&gt;
**'''''type: Bool'''''&lt;br /&gt;
** Optional - returns only the code from the tracking link. Defaults to full url.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''GET'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;http://domain/api/affiliate/get_links?loginid=2&amp;amp;offerid=1&amp;amp;subaff=test&amp;amp;_ocid={token}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;result&amp;quot;:&amp;quot;Success&amp;quot;,&lt;br /&gt;
  &amp;quot;message&amp;quot;:[&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;Offer Id&amp;quot;:277,&lt;br /&gt;
      &amp;quot;Offer Name&amp;quot;:&amp;quot;01dave&amp;quot;,&lt;br /&gt;
      &amp;quot;Landing Page Id&amp;quot;:425,&lt;br /&gt;
      &amp;quot;Landing Page Name&amp;quot;:&amp;quot;lp333&amp;quot;, &lt;br /&gt;
      &amp;quot;Code&amp;quot;:&amp;quot;http:\/\/example.com\/track\/Mi4yNjguMjc3LjQyNS4wLjAuMC4wLjAuNjIuMC4w?subaff=test&amp;amp;_ocid={token}&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;Offer Id&amp;quot;:277,&lt;br /&gt;
      &amp;quot;Offer Name&amp;quot;:&amp;quot;01dave&amp;quot;,&lt;br /&gt;
      &amp;quot;Landing Page Id&amp;quot;:304,&lt;br /&gt;
      &amp;quot;Landing Page Name&amp;quot;:&amp;quot;offerit offer&amp;quot;,&lt;br /&gt;
      &amp;quot;Code&amp;quot;:&amp;quot;http:\/\/example.com\/track\/Mi4yNjguMjc3LjMwNC4wLjAuMC4wLjAuNjIuMC4w?subaff=test&amp;amp;_ocid={token}&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
  ]&lt;br /&gt;
}  &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php &lt;br /&gt;
$url = 'http://domain/api/affiliate/get_links';&lt;br /&gt;
$curl = curl_init(); &lt;br /&gt;
 &lt;br /&gt;
$headers = array( &lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62', &lt;br /&gt;
    'api-username: productsupport' &lt;br /&gt;
); &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$data = Array(&lt;br /&gt;
  'loginid' =&amp;gt; 2,&lt;br /&gt;
  'offerid' =&amp;gt; 1,&lt;br /&gt;
  'subaff' =&amp;gt; 'test',&lt;br /&gt;
  '_ocid' =&amp;gt; '{token}'&lt;br /&gt;
);                                                   &lt;br /&gt;
&lt;br /&gt;
$data_string = http_build_query($data);&lt;br /&gt;
$url .= '?'.$data_string;&lt;br /&gt;
&lt;br /&gt;
curl_setopt($curl, CURLOPT_GET, 1);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); &lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); &lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url); &lt;br /&gt;
&lt;br /&gt;
                                                &lt;br /&gt;
$resp = curl_exec($curl); &lt;br /&gt;
//dumps an associative array representation of the json &lt;br /&gt;
var_dump(json_decode($resp, true)); &lt;br /&gt;
// Close request to clear up some resources &lt;br /&gt;
curl_close($curl); &lt;br /&gt;
?&amp;gt; &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Pause_Offer&amp;diff=3626</id>
		<title>Offerit REST API Pause Offer</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Pause_Offer&amp;diff=3626"/>
				<updated>2017-03-22T21:50:47Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: /* Example Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== '''GET /offer/pause_offer''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*Offerit supports an API resource to pause an offer and send the traffic to another offer/landing page or expiration url.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/offer/pause_offer&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the Offerit domain&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*PATCH&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
*offerid: the id of the offer to be paused&lt;br /&gt;
**'''''type: integer'''''&lt;br /&gt;
**required&lt;br /&gt;
&lt;br /&gt;
*date_expire: date or unix timestamp to set as the expiration date. Leaving this blank will make the expiration immediate&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
&lt;br /&gt;
*expiration_landing_page_id: the id of the landing page you want the traffic redirected to&lt;br /&gt;
**'''''type: integer'''''&lt;br /&gt;
&lt;br /&gt;
*expire_url: the expiration url you want traffic redirected to (expiration_landing_page_id takes precedence over this if both are sent)&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$curl = curl_init();&lt;br /&gt;
&lt;br /&gt;
$data = array(&lt;br /&gt;
    'offerid' =&amp;gt; 4,&lt;br /&gt;
    'date_expire' =&amp;gt; '2017/03/20',&lt;br /&gt;
    'expiration_landing_page_id' =&amp;gt; 17&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$data_string = http_build_query($data);&lt;br /&gt;
$url = 'http://domain/api/offer/pause_offer?'.$data_string;&lt;br /&gt;
&lt;br /&gt;
$headers = array(&lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
    'api-username: productsupport'&lt;br /&gt;
);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);&lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &amp;quot;PATCH&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$resp = curl_exec($curl);&lt;br /&gt;
//dumps an associative array representation of the json&lt;br /&gt;
var_dump(json_decode($resp, true));&lt;br /&gt;
// Close request to clear up some resources&lt;br /&gt;
curl_close($curl);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Activate_Offer&amp;diff=3625</id>
		<title>Offerit REST API Activate Offer</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Activate_Offer&amp;diff=3625"/>
				<updated>2017-03-22T21:50:14Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: /* Example Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_rest_api_section = true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== '''GET /offer/activate_offer''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*Offerit supports an API resource to activate a paused/expired offer and allow traffic to the landing page url.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/offer/activate_offer&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the Offerit domain&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*PATCH&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
*offerid: the id of the offer to be activated&lt;br /&gt;
**'''''type: integer'''''&lt;br /&gt;
**required&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$curl = curl_init();&lt;br /&gt;
&lt;br /&gt;
$data = array(&lt;br /&gt;
    'offerid' =&amp;gt; 4,&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$data_string = http_build_query($data);&lt;br /&gt;
$url = 'http://domain/api/offer/activate_offer?'.$data_string;&lt;br /&gt;
&lt;br /&gt;
$headers = array(&lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
    'api-username: productsupport'&lt;br /&gt;
);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);&lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &amp;quot;PATCH&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$resp = curl_exec($curl);&lt;br /&gt;
//dumps an associative array representation of the json&lt;br /&gt;
var_dump(json_decode($resp, true));&lt;br /&gt;
// Close request to clear up some resources&lt;br /&gt;
curl_close($curl);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Template:Offerit_Manual&amp;diff=3582</id>
		<title>Template:Offerit Manual</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Template:Offerit_Manual&amp;diff=3582"/>
				<updated>2017-03-22T01:06:58Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;offeritnavbox&amp;quot;&lt;br /&gt;
! &amp;lt;span class=&amp;quot;productname&amp;quot;&amp;gt;[[Offerit|Offerit]]&amp;lt;/span&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_for_affiliates_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | For Affiliates&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Automatic SubIDs]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Stats Dumps|Affiliate Stats Dumps]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Linkcode|Linkcode]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Link Groups|Link Groups]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Custom Pixels]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Host and Post]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[ASP Query String]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Main Payout Page|Main Payout Page]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_affiliate_area_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
 ! class=&amp;quot;i1&amp;quot; | Offerit Affiliate Area&lt;br /&gt;
    |-&lt;br /&gt;
    &amp;lt;!-- | [[Offerit Affiliate Area|Offerit Affiliate Area]]&lt;br /&gt;
    |- --&amp;gt;&lt;br /&gt;
    | [[Affiliate Account Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Account Change Log]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Creatives|Affiliate Creatives]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Creatives Search]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Custom Pixels]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Linkcodes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Linkcode Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Login History]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Messages]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Dashboard]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Dashboard Key Statistics|Dashboard Key Statistics]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Dashboard Statistics Summary|Dashboard Statistics Summary]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Payment History]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Quick Links]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referrals Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referring URL Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Remote Login]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Signup]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Statistic Filters]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Statistic Views]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate SubIDs]]&lt;br /&gt;
    &amp;lt;!-- | [[Affiliate Email and Notification Settings]] --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- | [[Affiliate Skins and Languages]] --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- | [[Affiliate Bonus Rewards]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_setup_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Offerit Setup&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Post-Installation Steps|Post-Installation Steps]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Creating Admin Accounts|Creating Admin Accounts]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Tracking Domain]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Edit Affiliate Text]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Edit CSS Colors]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Getting Started Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Quick-Start Guide]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Tracking in Offerit]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Pixel Builder]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_admin_overview_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Admin Dashboard&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Admin Dashboard|The Admin Dashboard]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_reporting_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Reporting Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Reporting Admin|The Reporting Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Track and Strack|Track and Strack]]&lt;br /&gt;
    |-&lt;br /&gt;
    &amp;lt;!-- | [[Offerit Fraud|Fraud Reports]]&lt;br /&gt;
    |- --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_report_breakdowns_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | &amp;amp;nbsp; Report Breakdowns&lt;br /&gt;
    |-    &lt;br /&gt;
    | [[Profit and Loss Report|Profit and Loss Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Subscription Report|Subscription Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Transactions Report|Transactions Reports]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Fraud Report|Fraud Report]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Ratios Report|Affiliate Ratios Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Managers Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Surfer Actions Report|Visitor Actions Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referral Tier Commissions Report|Referral Tier Payouts Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referral Signup Commissions Report|Referral Signup Payouts Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Additional Commissions Report|Additional Commissions Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Graphical Affiliate Comparison Report|Graphical Affiliate Comparison Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Single Day Comparison Report|The Single Day Comparison Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Actual Affiliate Payments|Actual Affiliate Payments Report]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Payments Withheld Report|The Payments Withheld Report]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_offers_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Offers Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offers Admin|The Offers Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offers|Offers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offer Setup]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referrals]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Tracking Domain]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Commission|Commissions]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Commission Changes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Suppression Lists]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Pixel Builder]]&lt;br /&gt;
    &amp;lt;!-- | [[Offerit Post URLs Usage|Post URL Usage]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Post URLs|Post URLs in Offerit]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mobile Landing Pages|Mobile Landing Pages]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[ID Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offer Partner]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit Offer User Management|Offer User Management]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offer/Landing Page Redirection]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Admin Host and Post]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_affiliates_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Affiliates Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliates Admin|The Affiliates Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[ID Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Managers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referrals]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Activation|Affiliate Activation]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Admin-Only Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Override|Affiliate Overrides]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Creating Admin Accounts|Creating Admin Accounts]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[In House Accounts|In-House Accounts]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Add Manual Sale]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Manual Invoice|Manual Invoice]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Documents|Affiliate Documents]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Enabled Offers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Change Affiliate Status]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Account Changes]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_advertisers_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Advertisers Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Advertisers Admin|The Advertisers Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Account Changes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Advertiser Invoices]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Generate Invoice]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Advertiser Approval]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Change Advertiser Status]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_customers_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Customers Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Customers Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Add Customer|Manually Adding a Customer]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[ID Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_commissions_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Commissions Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Commissions Admin|The Commissions Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Adding Commissions|Adding Commissions]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Commission Changes|Commission Changes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[ID Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Commission]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payvia Types]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Special Pricing Options|Special Pricing Options]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_payments_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; |Payments Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payments Admin|The Payments Admin]]  &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payvia Types]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payout Periods]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payvia Dump Formats]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payment Dump Entry Numbers |Payment Dump Entry Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Payment Dump Variables|Payment Dump Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Check Functions|Check Functions]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_payment_methods_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; |Payment Methods&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payza|Payza]] &lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_creatives_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Creatives Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Creatives Admin|The Creatives Admin]]&lt;br /&gt;
   &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit Duplicating Creative Types|Duplicating Creative Types]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Add New Creatives|Add New Creatives]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Add New Creative Type|Add New Creative Type]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offeritcode]]&lt;br /&gt;
   &amp;lt;!-- |-&lt;br /&gt;
    | [[Bulk Import Creatives]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Creative_Templates|Creative Templates]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Code Builder]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Track and Strack]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_creative_types_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | &amp;amp;nbsp; Default Creative Types  &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Creative Types]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Image Banners|Image Banners]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Flash Banners|Flash Banners]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Dynamic Text Banners|Dynamic Text Banners]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Feeds|Feeds]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mailers|Mailers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Downloadable Videos|Video Download]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Embedded Videos|Video Embed]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Page Peels|Page Peels]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit IM Popups|IM Popups]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Footer Ads|Footer Ads]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Page Ads|Page Ads]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Overlays|Overlays]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_mailing_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Mailing Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mailing Admin|The Mailing Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Create New Mailer|Create New Mailer]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Email Configuration|Email Configuration]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mailing Queue|The Mailing Queue]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mailer Template Variables|Mailer Template Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mass Mailer Template Variables|Mass Mailing Template Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit_common_mailer_examples|Common Mailer Examples]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_communications_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Communications Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Communications Admin|The Communications Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Add News|Add News Item]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Send Message|Sending Messages]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Signup Questions]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_configuration_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Configuration Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Configuration Admin|The Configuration Admin]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit Fraud|Fraud Configuration]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Signup Postback URL|Affiliate Signup Postback URL]]&lt;br /&gt;
    |- &lt;br /&gt;
    | [[Edit Affiliate Text]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Edit CSS Colors]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit Log Admin Activity|Log Admin Activity]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit IP Address Filtering|IP Address Filtering]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Email Configuration|Email Configuration]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Signup Email|Affiliate Signup Email]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Postback|Affiliate Postback]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Analytics]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Throttling]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_skins_and_templates_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | &amp;amp;nbsp; Skins and Templates&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Skins and Templates Admin|The Skins and Templates Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Skins|Skins]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Smarty Plugins]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Templates|Templates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Site Templates|Site Templates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Language Skins|Language Skins]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Language Files]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit custom errors.php|custom_errors.php]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Join Page Variables|Join Page Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Post URL Variables|Post URL Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Customer Usernames &amp;amp; Passwords]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Username Recommendations|Username Recommendations]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Password Retrieval|Password Retrieval]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Post-Biller Templates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Geo-Target Join Options|Geo-Target Join Options]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Random Usernames and Passwords]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Smarty]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Smarty print array]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Support Template|Affiliate Support Template]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Adding a Verification Image|Adding a Verification Image]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Custom Commission and Campaign Selection Pages|Custom Commission and Campaign Selection Pages]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Output An Affiliate's Last Paid Date|Output An Affiliate's Last Paid Date]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Signup Email|Affiliate Signup Email]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Join Page Linkcodes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Approval/Upgrade/Denial Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[CSS Theme Builder]]&lt;br /&gt;
    |-&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_api_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | REST API&lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | General&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Overview]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Ping|GET /service/ping]] &lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Offer&lt;br /&gt;
    |- &lt;br /&gt;
    | [[Offerit REST API Check Orderid Exists|GET /offer/check_orderid_exists]] &lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Reporting&lt;br /&gt;
    |- &lt;br /&gt;
    | [[Offerit REST API Get Profit Loss Report|GET /report/profitloss]] &lt;br /&gt;
    |- &lt;br /&gt;
    | [[Offerit REST API Get Transaction Report|GET /report/transaction]] &lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Transaction&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Get Transaction Payout Preview|GET /transaction/transaction_payout_preview]]&lt;br /&gt;
    |-&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Affiliate&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Search_Affiliate|GET /affiliate/search]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Set Affiliate Payvia Info|PATCH /affiliate/setpayviainfo]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Add Affiliate|POST /affiliate/addaffiliate]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Affiliate Login Ips|POST /affiliate/affiliate_login_ips]] &lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_api_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | API&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API|API]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Add Affiliate|Add Affiliate]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Add Affiliate Sale|Add Affiliate Sale]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Add Offer|Add Offer]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Approve Transaction|Approve Transaction]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit API Admin Get Creatives|Admin Get Creatives]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Creative Types|Creative Types]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Decode Offeritcode|Decode Offeritcode]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Deny Transaction|Deny Transaction]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Disable Affiliate Landing Page|Disable Affiliate Landing Page]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Edit Affiliate Sale|Edit Affiliate Sale]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Enable Affiliate Landing Page|Enable Affiliate Landing Page]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit API Creative Categories|Creative Categories]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Affiliate Stats|Get Affiliate Stats]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Allowed Affiliates|Get Allowed Affiliates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Landing Page Details|Get Landing Page Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Offer Details|Get Offer Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Offer List|Get Offer List]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Profit Loss Report|Get Profit Loss Report]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit API Affiliate Get Traffic Tags|Affiliate Get Traffic Tags]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Affiliate Tracking Codes|Get Affiliate Tracking Codes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Affiliate Sales|Get Affiliate Sales]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Subaffiliate Sales|Get Subaffiliate Sales]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Customer Details|Get Customer Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Customer Instant Upgrade String|Get Customer Instant Upgrade String]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Customer Package Upgrade String|Get Customer Package Upgrade String]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Customer Upsell String|Get Customer Upsell String]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API List Affiliate Details|List Affiliate Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API List Affiliate Subaffiliates|List Affiliate Subaffiliates]]&lt;br /&gt;
    |- &lt;br /&gt;
    | [[Offerit API Ping|Ping]]&lt;br /&gt;
    |-&lt;br /&gt;
    &amp;lt;!-- |- &lt;br /&gt;
    | [[Offerit API Set Affiliate Defaults|Set Affiliate Defaults]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Admin Settings|Set Affiliate Admin Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Customs|Set Affiliate Customs]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Status|Set Affiliate Status]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Information|Set Affiliate Information]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Settings|Set Affiliate Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Customer Details|Set Customer Details]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Subaffiliate Status|Set SubAffiliate Status]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[API Bulk Import Creatives|Bulk Import Creatives]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Member Details|Set Member Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Record Affiliate Click|Record Affiliate Click]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_misc_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Misc.&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Rules]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Freeform Date|Freeform Date]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Rewards Admin|Rewards Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Custom Signup]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offeritcode]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Tracking in Offerit]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Logos]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Void Conversions Remotely]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_troubleshooting_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Troubleshooting&lt;br /&gt;
    |-&lt;br /&gt;
    | [[offerit Common Errors|Common Errors]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Fix Graphs|Fix Graphs]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Auto Login]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[AutoLogin Cookie]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Expired License]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Zend License]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[CAPTCHA]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Zip Files in Internet Explorer]]&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_extras_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | offerit Extras&lt;br /&gt;
    |-&lt;br /&gt;
    | [[offeritid]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Remote Affiliate Authentication|Remote Affiliate Authentication]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Shopping Cart Sales|Shopping Cart Sales]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Moving Landing Pages, Customers' Area, and Galleries]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Admin Areas]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Extended Sales]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[offerit Code Wordpress Plugin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Error_message_display]]&lt;br /&gt;
    |-&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
|}&amp;lt;includeonly&amp;gt;[[Category:Offerit]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Link_Groups&amp;diff=3581</id>
		<title>Link Groups</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Link_Groups&amp;diff=3581"/>
				<updated>2017-03-22T01:05:07Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit Manual | show_for_affiliates_section = true }}  A Link Group is a way for an affiliate to split traffic across multiple different destinations.  This split can be ta...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_for_affiliates_section = true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A Link Group is a way for an affiliate to split traffic across multiple different destinations.  This split can be targeted, optimized, or random.  Link groups get their own tracking link and support pass through and dynamic values just the same as regular tracking links.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Performance Metrics==&lt;br /&gt;
===Random===&lt;br /&gt;
Random is the simplest link group.  You add links to the group and traffic is randomly distributed.&lt;br /&gt;
&lt;br /&gt;
===Optimized===&lt;br /&gt;
Optimized links choose the best performing link based on your specified performance criteria. You may base your optimization on epc, rate of conversion, or rate for custom event types if any exist.&lt;br /&gt;
*'''Stats Scope''' - Specifies if you want to consider all of your traffic, all of the traffic network wide, or just traffic to this specific group.&lt;br /&gt;
*'''Stats Date Rang''' - Specifies the time range to include in the optimization.&lt;br /&gt;
*'''Hit Threshold''' - Specifies the minimum number of hits required for each of the possible landing pages before the best performing link will be used.&lt;br /&gt;
*'''Percent Random''' - Specifies what percentage of traffic will continue to to be distributed randomly while the rest of the traffic is optimized.&lt;br /&gt;
&lt;br /&gt;
===Targeted===&lt;br /&gt;
Targeted links allow you to direct traffic based on date and time, country, and device type. Links get added to the individual targets just like you add them to any other link group.&lt;br /&gt;
*'''Hours''' - Restricts this target to only specific hours of the day&lt;br /&gt;
*'''Days''' - Restricts this target to only specific days of the week&lt;br /&gt;
*'''Authorized / Unauthorized Countries''' - Restricts this target to geoip location&lt;br /&gt;
*'''Device Type''' - Restricts &lt;br /&gt;
&lt;br /&gt;
==Adding Links==&lt;br /&gt;
There are three places to add links to an existing group.&lt;br /&gt;
1) From the link groups page,  paste a link, choose a group, confirm that it is correct and hit 'Add Link to Group'.&lt;br /&gt;
2) From the edit link group page, click 'Add a New Link'. Paste in the link, confirm that it is correct and hit 'Add Link to Group'.&lt;br /&gt;
3) From the linkcodes page for a specific offer, click 'Group'.  This will bring you to th link groups page from method 1 with the link already in place.&lt;br /&gt;
&lt;br /&gt;
== Deep Linking ==&lt;br /&gt;
Individual links can have deep links hard coded into them. For example, using the following linkcode to link to &amp;lt;nowiki&amp;gt;http://example.offerit.com/landing_page1.html&amp;lt;/nowiki&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit.com/track/MjozOjE/landing_page1.html&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Affiliates can also manipulate the query string. For example, the affiliate can pass the variable ''extra_var=1234'' to a landing page by appending a question mark and the variable assignment to their linkcode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit.com/track/MjozOjE/?extra_var=1234 &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly you can deep link the link group tracking link and have the details pushed through to the individual links&lt;br /&gt;
For Example &amp;lt;nowiki&amp;gt;http://example.offerit.com/lgtrack/Mi4z?ocid=xxx&amp;lt;/nowiki&amp;gt; will go to &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
http://example.offerit/com/track/yourlink?_ocid=xxx&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category:Offerit Affiliate Information]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Get_Transaction_Report&amp;diff=3575</id>
		<title>Offerit REST API Get Transaction Report</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Get_Transaction_Report&amp;diff=3575"/>
				<updated>2016-11-21T15:41:04Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: /* GET /report/transaction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_api_admin_section = true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== '''GET /report/transaction''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*Offerit supports an API resource to grab all the stats used within the NATS transactions report.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api//report/transaction&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the offerit domain&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*GET&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
&lt;br /&gt;
** '''period''' - Which period of time to select data for. See below for more information regarding the periods within NATS. &lt;br /&gt;
** '''start''' - start date for the stats. Used when period is not sent or set to 8&lt;br /&gt;
** '''end''' -  end date for the stats. Used when period is not sent or set to 8&lt;br /&gt;
** '''filter_affiliate''' - Only see stats for specific affiliate &lt;br /&gt;
** '''filter_loginid''' - Only see stats for the specifc login ID passed in.&lt;br /&gt;
** '''filter_campaignid''' - Only see stats for the specific campaign ID for the affiliate. (Can only be used if filter_loginid is passed in)&lt;br /&gt;
** '''filter_offerid''' - Only see stats for the specific site ID passed in.&lt;br /&gt;
** '''filter_landingpageid''' - Only see stats for the specific tour ID passed in. &lt;br /&gt;
** '''filter_adtoolid''' - Only see stats for the specific adtool ID passed in. &lt;br /&gt;
** '''filter_programid''' - Only see stats for the specific program ID passed in. &lt;br /&gt;
** '''filter_countryid''' - Only see stats for the specific Country ID passed in. &lt;br /&gt;
** '''no_inhouse''' - 0 for all affiliates, 1 to exclude inhouse.&lt;br /&gt;
** '''trans_type''' - Type of transactions to return. Default is all.&lt;br /&gt;
** '''filter_external_clickid''' - search for a specific affiliate _ocid.&lt;br /&gt;
** '''filter_transaction_hash''' - search for an internal click_hash.&lt;br /&gt;
** '''trans_start''' - Number of transactions to offset default 0.&lt;br /&gt;
** '''trans_count''' - Number of transactions to return default 100.&lt;br /&gt;
&lt;br /&gt;
== Periods == &lt;br /&gt;
{| class=&amp;quot;tmplfunc&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! # || Name || Argument Description&lt;br /&gt;
|-&lt;br /&gt;
| 0 || current || Current Period&lt;br /&gt;
|-&lt;br /&gt;
| 1 || last || Last Period&lt;br /&gt;
|-&lt;br /&gt;
| 2 || today || Today&lt;br /&gt;
|-&lt;br /&gt;
| 3 || yesterday || Yesterday&lt;br /&gt;
|-&lt;br /&gt;
| 4 || week || This Week&lt;br /&gt;
|-&lt;br /&gt;
| 5 || month || This Month&lt;br /&gt;
|-&lt;br /&gt;
| 6 || year || This Year&lt;br /&gt;
|-&lt;br /&gt;
| 7 || all || All Time&lt;br /&gt;
|-&lt;br /&gt;
| 8 || free || Freeform (See also the ''start'' and ''end'' parameters above)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$curl = curl_init();&lt;br /&gt;
&lt;br /&gt;
$data = array(&lt;br /&gt;
    'period' =&amp;gt; 2,&lt;br /&gt;
    '&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$data_string = http_build_query($data);&lt;br /&gt;
$url = 'http://domain/api/report/transaction?'.$data_string;&lt;br /&gt;
&lt;br /&gt;
$headers = array(&lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
    'api-username: productsupport'&lt;br /&gt;
);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);&lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
&lt;br /&gt;
$resp = curl_exec($curl);&lt;br /&gt;
//dumps an associative array representation of the json&lt;br /&gt;
var_dump(json_decode($resp, true));&lt;br /&gt;
// Close request to clear up some resources&lt;br /&gt;
curl_close($curl);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Set_Affiliate_Payvia_Info&amp;diff=3574</id>
		<title>Offerit REST API Set Affiliate Payvia Info</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Set_Affiliate_Payvia_Info&amp;diff=3574"/>
				<updated>2016-11-09T19:06:09Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_api_admin_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''PATCH /affiliate/payvia''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*The  /affiliate/payvia action is a feature in [[Offerit]] that allows you to set the affiliate payvia info settings&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/affiliate/payvia&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the offerit domain&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*PATCH&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
&lt;br /&gt;
'''''Paremeters must be sent with the request body. The examples below show the parameters sent as x-www-form-urlencoded'''&lt;br /&gt;
&lt;br /&gt;
*loginid: is the affiliates loginid&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**required&lt;br /&gt;
&lt;br /&gt;
*payvia_type_id: is the id of the payvia that the loginid should be switched to&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**required&lt;br /&gt;
&lt;br /&gt;
*payvia_info: is an array containing arrays of info to update for the payvia type.&lt;br /&gt;
**'''''type: array'''''&lt;br /&gt;
**required&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''PATCH'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://domain/api/affiliate/payvia&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[&lt;br /&gt;
    {&lt;br /&gt;
        &amp;quot;field&amp;quot;:&amp;quot;Payvia Type&amp;quot;,&lt;br /&gt;
        &amp;quot;result&amp;quot;:&amp;quot;Updated Payvia Type to 1 for loginid 1&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
        &amp;quot;field&amp;quot;:&amp;quot;Pay To&amp;quot;,&lt;br /&gt;
        &amp;quot;result&amp;quot;:&amp;quot;Updated Payvia Info: 'Pay To' is now 'TestPayTo'&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
        &amp;quot;field&amp;quot;:&amp;quot;Address&amp;quot;,&lt;br /&gt;
        &amp;quot;result&amp;quot;:&amp;quot;Updated Payvia Info: 'Address' is now 'Riga, Latvia'&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$curl = curl_init();&lt;br /&gt;
&lt;br /&gt;
$payvia_info = array();&lt;br /&gt;
$payvia_info[] = array(&lt;br /&gt;
    'field' =&amp;gt; 'Pay To',&lt;br /&gt;
    'value' =&amp;gt; 'TestPayTo'&lt;br /&gt;
);&lt;br /&gt;
$payvia_info[] = array(&lt;br /&gt;
    'field' =&amp;gt; 'Address',&lt;br /&gt;
    'value' =&amp;gt; 'Riga, Latvia'&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$data = array(&lt;br /&gt;
    'loginid' =&amp;gt; 1,&lt;br /&gt;
    'payvia_type_id' =&amp;gt; '1',&lt;br /&gt;
    'payvia_info' =&amp;gt; $payvia_info&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$url = 'http://domain/api/affiliate/payvia';&lt;br /&gt;
&lt;br /&gt;
$headers = array(&lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
    'api-username: productsupport'&lt;br /&gt;
);&lt;br /&gt;
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &amp;quot;PATCH&amp;quot;);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);&lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));&lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
&lt;br /&gt;
$resp = curl_exec($curl);&lt;br /&gt;
//dumps an associative array representation of the json&lt;br /&gt;
var_dump(json_decode($resp, true));&lt;br /&gt;
// Close request to clear up some resources&lt;br /&gt;
curl_close($curl);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=LinkGroups&amp;diff=3554</id>
		<title>LinkGroups</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=LinkGroups&amp;diff=3554"/>
				<updated>2016-03-21T15:04:59Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit Manual | show_for_affiliates_section = true }  Link groups allow affiliates to use the same tracking link to split traffic between several possible destinations.  Gr...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_for_affiliates_section = true&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Link groups allow affiliates to use the same tracking link to split traffic between several possible destinations.  Groups can be either random or self optimizing.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Creating Link Groups ==&lt;br /&gt;
Link groups are managed on the /internal.php?page=link_groups page.  To create a new link group, click the Create New Group link.  You can also use the pencil icon to edit existing groups.&lt;br /&gt;
[[File:Link_group_1.PNG|frame|800px|center||||Figure 1.1 - Create or Edit Link Group]]&lt;br /&gt;
&lt;br /&gt;
==Link Group Details==&lt;br /&gt;
When details of a link group, you can see the optimization settings and the link url, add new links to the group, or modify the group settings.&lt;br /&gt;
[[File:Link_group_2.PNG|frame|800px|center||||Figure 1.2 - Modify Link Group Details]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Link Group Name: is just for your reference purposes.&lt;br /&gt;
*Group Linkcode: determined automatically by the system. This link will always redirect to one of the linkcodes you added to the group.&lt;br /&gt;
*Performance Metric: Random, EPC, or Conversion Rate.&lt;br /&gt;
*Stats Scope: Should the group optimize according to the best performance across the entire network, your whole account, or just this specific group.&lt;br /&gt;
*Stats Date Range: How many days worth of stats are included for optimization.&lt;br /&gt;
*Hit Threshold: Defines the data collection period.  The Group will always be treated as random until at least this many hits have been registered at each linkcode in the group.&lt;br /&gt;
*Percent Random: During the optimization period, this % of traffic will still be treated as random.&lt;br /&gt;
&lt;br /&gt;
==Adding Links to Link Groups==&lt;br /&gt;
[[File:Link_group_3.PNG|frame|800px|center||||Figure 1.3 - Adding Links from Group Details Page]]&lt;br /&gt;
On the link group details page, there is a link to Add a New Link.   You can paste in any valid link to add it to this group.&lt;br /&gt;
&lt;br /&gt;
[[File:Link_group_4.PNG|frame|800px|center||||Figure 1.4 - Adding Links from Main Link Groups Page]]&lt;br /&gt;
You can also add links to any group from the main link groups page.  Simply put in the linkcode you wish to add and choose from your list of available groups.&lt;br /&gt;
A preview will display to help ensure that you know exactly where the link you are adding will go.&lt;br /&gt;
&lt;br /&gt;
==Using Link Groups==&lt;br /&gt;
Because you can use any valid tracking link into your groups, you can save subaff and other pass through fields into the links as you add them into your group.&lt;br /&gt;
Fiels passed into the Group Linkcode will also persist to the linkcode that is used for each click.  This means that you can pass your _ocid and subaff into the Group Linkcode dynamically just as if you were using the direct links.&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:Link_group_2.PNG&amp;diff=3553</id>
		<title>File:Link group 2.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:Link_group_2.PNG&amp;diff=3553"/>
				<updated>2016-03-21T14:49:38Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: OfferitDave uploaded a new version of &amp;amp;quot;File:Link group 2.PNG&amp;amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:Link_group_4.PNG&amp;diff=3552</id>
		<title>File:Link group 4.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:Link_group_4.PNG&amp;diff=3552"/>
				<updated>2016-03-21T14:42:05Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:Link_group_3.PNG&amp;diff=3551</id>
		<title>File:Link group 3.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:Link_group_3.PNG&amp;diff=3551"/>
				<updated>2016-03-21T14:41:49Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:Link_group_2.PNG&amp;diff=3550</id>
		<title>File:Link group 2.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:Link_group_2.PNG&amp;diff=3550"/>
				<updated>2016-03-21T14:41:36Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=File:Link_group_1.PNG&amp;diff=3549</id>
		<title>File:Link group 1.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=File:Link_group_1.PNG&amp;diff=3549"/>
				<updated>2016-03-21T14:41:01Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Template:Offerit_Manual&amp;diff=3547</id>
		<title>Template:Offerit Manual</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Template:Offerit_Manual&amp;diff=3547"/>
				<updated>2016-01-13T16:03:09Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| class=&amp;quot;offeritnavbox&amp;quot;&lt;br /&gt;
! &amp;lt;span class=&amp;quot;productname&amp;quot;&amp;gt;[[Offerit|Offerit]]&amp;lt;/span&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_for_affiliates_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | For Affiliates&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Automatic SubIDs]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Stats Dumps|Affiliate Stats Dumps]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Linkcode|Linkcode]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Custom Pixels]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Host and Post]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[ASP Query String]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Main Payout Page|Main Payout Page]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_affiliate_area_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
 ! class=&amp;quot;i1&amp;quot; | Offerit Affiliate Area&lt;br /&gt;
    |-&lt;br /&gt;
    &amp;lt;!-- | [[Offerit Affiliate Area|Offerit Affiliate Area]]&lt;br /&gt;
    |- --&amp;gt;&lt;br /&gt;
    | [[Affiliate Account Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Account Change Log]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Creatives|Affiliate Creatives]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Creatives Search]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Custom Pixels]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Linkcodes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Linkcode Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Login History]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Messages]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Dashboard]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Dashboard Key Statistics|Dashboard Key Statistics]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Dashboard Statistics Summary|Dashboard Statistics Summary]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Payment History]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Quick Links]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referrals Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referring URL Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Remote Login]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Signup]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Statistic Filters]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Statistic Views]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate SubIDs]]&lt;br /&gt;
    &amp;lt;!-- | [[Affiliate Email and Notification Settings]] --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- | [[Affiliate Skins and Languages]] --&amp;gt;&lt;br /&gt;
    &amp;lt;!-- | [[Affiliate Bonus Rewards]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_setup_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Offerit Setup&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Post-Installation Steps|Post-Installation Steps]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Creating Admin Accounts|Creating Admin Accounts]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Tracking Domain]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Edit Affiliate Text]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Edit CSS Colors]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Getting Started Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Quick-Start Guide]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Tracking in Offerit]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Pixel Builder]]&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_admin_overview_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Admin Dashboard&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Admin Dashboard|The Admin Dashboard]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_reporting_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Reporting Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Reporting Admin|The Reporting Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Track and Strack|Track and Strack]]&lt;br /&gt;
    |-&lt;br /&gt;
    &amp;lt;!-- | [[Offerit Fraud|Fraud Reports]]&lt;br /&gt;
    |- --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_report_breakdowns_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | &amp;amp;nbsp; Report Breakdowns&lt;br /&gt;
    |-    &lt;br /&gt;
    | [[Profit and Loss Report|Profit and Loss Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Subscription Report|Subscription Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Transactions Report|Transactions Reports]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Fraud Report|Fraud Report]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Ratios Report|Affiliate Ratios Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Managers Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Surfer Actions Report|Visitor Actions Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referral Tier Commissions Report|Referral Tier Payouts Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referral Signup Commissions Report|Referral Signup Payouts Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Additional Commissions Report|Additional Commissions Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Graphical Affiliate Comparison Report|Graphical Affiliate Comparison Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Single Day Comparison Report|The Single Day Comparison Report]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Actual Affiliate Payments|Actual Affiliate Payments Report]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Payments Withheld Report|The Payments Withheld Report]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_offers_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Offers Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offers Admin|The Offers Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offers|Offers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offer Setup]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referrals]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Tracking Domain]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Commission|Commissions]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Commission Changes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Suppression Lists]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Pixel Builder]]&lt;br /&gt;
    &amp;lt;!-- | [[Offerit Post URLs Usage|Post URL Usage]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Post URLs|Post URLs in Offerit]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mobile Landing Pages|Mobile Landing Pages]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[ID Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offer Partner]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit Offer User Management|Offer User Management]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offer/Landing Page Redirection]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Admin Host and Post]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_affiliates_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Affiliates Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliates Admin|The Affiliates Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[ID Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Managers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Referrals]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Activation|Affiliate Activation]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Admin-Only Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Override|Affiliate Overrides]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Creating Admin Accounts|Creating Admin Accounts]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[In House Accounts|In-House Accounts]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Add Manual Sale]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Manual Invoice|Manual Invoice]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Documents|Affiliate Documents]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Enabled Offers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Change Affiliate Status]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Account Changes]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_advertisers_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Advertisers Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Advertisers Admin|The Advertisers Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Account Changes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Advertiser Invoices]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Generate Invoice]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Advertiser Approval]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Change Advertiser Status]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_customers_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Customers Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Customers Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Add Customer|Manually Adding a Customer]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[ID Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_commissions_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Commissions Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Commissions Admin|The Commissions Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Adding Commissions|Adding Commissions]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Commission Changes|Commission Changes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[ID Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Commission]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payvia Types]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Special Pricing Options|Special Pricing Options]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_payments_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; |Payments Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payments Admin|The Payments Admin]]  &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payvia Types]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payout Periods]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payvia Dump Formats]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payment Dump Entry Numbers |Payment Dump Entry Numbers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Payment Dump Variables|Payment Dump Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Check Functions|Check Functions]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_payment_methods_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; |Payment Methods&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Payza|Payza]] &lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_creatives_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Creatives Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Creatives Admin|The Creatives Admin]]&lt;br /&gt;
   &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit Duplicating Creative Types|Duplicating Creative Types]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Add New Creatives|Add New Creatives]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Add New Creative Type|Add New Creative Type]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offeritcode]]&lt;br /&gt;
   &amp;lt;!-- |-&lt;br /&gt;
    | [[Bulk Import Creatives]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Creative_Templates|Creative Templates]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Code Builder]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Track and Strack]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_creative_types_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | &amp;amp;nbsp; Default Creative Types  &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Creative Types]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Image Banners|Image Banners]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Flash Banners|Flash Banners]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Dynamic Text Banners|Dynamic Text Banners]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Feeds|Feeds]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mailers|Mailers]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Downloadable Videos|Video Download]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Embedded Videos|Video Embed]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Page Peels|Page Peels]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit IM Popups|IM Popups]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Footer Ads|Footer Ads]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Page Ads|Page Ads]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Overlays|Overlays]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_mailing_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Mailing Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mailing Admin|The Mailing Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Create New Mailer|Create New Mailer]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Email Configuration|Email Configuration]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mailing Queue|The Mailing Queue]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mailer Template Variables|Mailer Template Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Mass Mailer Template Variables|Mass Mailing Template Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit_common_mailer_examples|Common Mailer Examples]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Setting Rules]]&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_communications_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Communications Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Communications Admin|The Communications Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Add News|Add News Item]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Send Message|Sending Messages]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Signup Questions]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_configuration_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Configuration Admin&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Configuration Admin|The Configuration Admin]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit Fraud|Fraud Configuration]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Signup Postback URL|Affiliate Signup Postback URL]]&lt;br /&gt;
    |- &lt;br /&gt;
    | [[Edit Affiliate Text]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Edit CSS Colors]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit Log Admin Activity|Log Admin Activity]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit IP Address Filtering|IP Address Filtering]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Email Configuration|Email Configuration]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Signup Email|Affiliate Signup Email]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Postback|Affiliate Postback]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Analytics]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Throttling]] --&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_skins_and_templates_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | &amp;amp;nbsp; Skins and Templates&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Skins and Templates Admin|The Skins and Templates Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Skins|Skins]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Smarty Plugins]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Templates|Templates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Site Templates|Site Templates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Language Skins|Language Skins]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Language Files]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit custom errors.php|custom_errors.php]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Join Page Variables|Join Page Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Post URL Variables|Post URL Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Customer Usernames &amp;amp; Passwords]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Username Recommendations|Username Recommendations]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Password Retrieval|Password Retrieval]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Post-Biller Templates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Geo-Target Join Options|Geo-Target Join Options]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Random Usernames and Passwords]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Smarty]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Smarty print array]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Support Template|Affiliate Support Template]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Adding a Verification Image|Adding a Verification Image]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Custom Commission and Campaign Selection Pages|Custom Commission and Campaign Selection Pages]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Output An Affiliate's Last Paid Date|Output An Affiliate's Last Paid Date]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Affiliate Signup Email|Affiliate Signup Email]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Join Page Linkcodes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Approval/Upgrade/Denial Variables]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[CSS Theme Builder]]&lt;br /&gt;
    |-&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_api_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | REST API&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Overview]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Ping|GET /service/ping]] &lt;br /&gt;
    |- &lt;br /&gt;
    | [[Offerit REST API Get Profit Loss Report|GET /report/profitloss]] &lt;br /&gt;
    |- &lt;br /&gt;
    | [[Offerit REST API Get Transaction Report|GET /report/transaction]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Get Transaction Payout Preview|GET /transaction/transaction_payout_preview]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Set Affiliate Payvia Info|PATCH /affiliate/setpayviainfo]] &lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit REST API Add Affiliate|POST /affiliate/addaffiliate]] &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_api_admin_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | API&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API|API]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Add Affiliate|Add Affiliate]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Add Affiliate Sale|Add Affiliate Sale]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Add Offer|Add Offer]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Approve Transaction|Approve Transaction]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit API Admin Get Creatives|Admin Get Creatives]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Creative Types|Creative Types]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Decode Offeritcode|Decode Offeritcode]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Deny Transaction|Deny Transaction]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Disable Affiliate Landing Page|Disable Affiliate Landing Page]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Edit Affiliate Sale|Edit Affiliate Sale]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Enable Affiliate Landing Page|Enable Affiliate Landing Page]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit API Creative Categories|Creative Categories]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Affiliate Stats|Get Affiliate Stats]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Allowed Affiliates|Get Allowed Affiliates]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Landing Page Details|Get Landing Page Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Offer Details|Get Offer Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Offer List|Get Offer List]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Profit Loss Report|Get Profit Loss Report]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit API Affiliate Get Traffic Tags|Affiliate Get Traffic Tags]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Affiliate Tracking Codes|Get Affiliate Tracking Codes]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Affiliate Sales|Get Affiliate Sales]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Subaffiliate Sales|Get Subaffiliate Sales]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Customer Details|Get Customer Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Customer Instant Upgrade String|Get Customer Instant Upgrade String]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Customer Package Upgrade String|Get Customer Package Upgrade String]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Get Customer Upsell String|Get Customer Upsell String]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API List Affiliate Details|List Affiliate Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API List Affiliate Subaffiliates|List Affiliate Subaffiliates]]&lt;br /&gt;
    |- &lt;br /&gt;
    | [[Offerit API Ping|Ping]]&lt;br /&gt;
    |-&lt;br /&gt;
    &amp;lt;!-- |- &lt;br /&gt;
    | [[Offerit API Set Affiliate Defaults|Set Affiliate Defaults]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Admin Settings|Set Affiliate Admin Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Customs|Set Affiliate Customs]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Status|Set Affiliate Status]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Information|Set Affiliate Information]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Affiliate Settings|Set Affiliate Settings]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Customer Details|Set Customer Details]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Subaffiliate Status|Set SubAffiliate Status]]&lt;br /&gt;
    &amp;lt;!-- |-&lt;br /&gt;
    | [[API Bulk Import Creatives|Bulk Import Creatives]] --&amp;gt;&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Set Member Details|Set Member Details]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit API Record Affiliate Click|Record Affiliate Click]]&lt;br /&gt;
|}&lt;br /&gt;
{| class=&amp;quot;collapsible {{{show_misc_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Misc.&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Rules|Rules]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Freeform Date|Freeform Date]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Rewards Admin|Rewards Admin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Affiliate Custom Signup]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offeritcode]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Tracking in Offerit]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Logos]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Void Conversions Remotely]]&lt;br /&gt;
    |-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;hr /&amp;gt;&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_troubleshooting_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | Troubleshooting&lt;br /&gt;
    |-&lt;br /&gt;
    | [[offerit Common Errors|Common Errors]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Fix Graphs|Fix Graphs]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Auto Login]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[AutoLogin Cookie]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Expired License]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Zend License]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[CAPTCHA]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Zip Files in Internet Explorer]]&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
&amp;lt;!-- {| class=&amp;quot;collapsible {{{show_extras_section|collapsed}}}&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
    ! class=&amp;quot;i1&amp;quot; | offerit Extras&lt;br /&gt;
    |-&lt;br /&gt;
    | [[offeritid]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Remote Affiliate Authentication|Remote Affiliate Authentication]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Offerit Shopping Cart Sales|Shopping Cart Sales]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Moving Landing Pages, Customers' Area, and Galleries]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Admin Areas]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Extended Sales]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[offerit Code Wordpress Plugin]]&lt;br /&gt;
    |-&lt;br /&gt;
    | [[Error_message_display]]&lt;br /&gt;
    |-&lt;br /&gt;
|} --&amp;gt;&lt;br /&gt;
|}&amp;lt;includeonly&amp;gt;[[Category:Offerit]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_REST_API_Set_Affiliate_Payvia_Info&amp;diff=3546</id>
		<title>Offerit REST API Set Affiliate Payvia Info</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_REST_API_Set_Affiliate_Payvia_Info&amp;diff=3546"/>
				<updated>2016-01-13T16:00:44Z</updated>
		
		<summary type="html">&lt;p&gt;OfferitDave: Created page with &amp;quot;{{Offerit Manual | show_api_admin_section = true }} == '''PATCH /affiliate/setpayviainfo''' == '''Description'''  *The  /affiliate/setpayviainfo action is a feature in Offer...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Offerit Manual&lt;br /&gt;
| show_api_admin_section = true&lt;br /&gt;
}}&lt;br /&gt;
== '''PATCH /affiliate/setpayviainfo''' ==&lt;br /&gt;
'''Description''' &lt;br /&gt;
*The  /affiliate/setpayviainfo action is a feature in [[Offerit]] that allows you to set the affiliate payvia info settings&lt;br /&gt;
&lt;br /&gt;
'''Resource URL'''&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;http://domain/api/affiliate/setpayviainfo&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*Replace domain with the offerit domain&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Allowed_HTTP_Request_Methods|Request Method''']]&lt;br /&gt;
*PATCH&lt;br /&gt;
&lt;br /&gt;
'''Response Format'''&lt;br /&gt;
*JSON&lt;br /&gt;
&lt;br /&gt;
'''[[Offerit_REST_API_Overview#Authentication|Authentication]]'''&lt;br /&gt;
*HTTP headers&lt;br /&gt;
&lt;br /&gt;
== '''Parameters''' ==&lt;br /&gt;
&lt;br /&gt;
'''''Paremeters must be sent with the request body. The examples below show the parameters sent as x-www-form-urlencoded'''&lt;br /&gt;
&lt;br /&gt;
*loginid: is the affiliates loginid&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**required&lt;br /&gt;
&lt;br /&gt;
*payvia_type_id: is the id of the payvia that the loginid should be switched to&lt;br /&gt;
**'''''type: string'''''&lt;br /&gt;
**required&lt;br /&gt;
&lt;br /&gt;
*payvia_info: is an array containing arrays of info to update for the payvia type.&lt;br /&gt;
**'''''type: array'''''&lt;br /&gt;
**required&lt;br /&gt;
&lt;br /&gt;
== '''Example Request''' ==&lt;br /&gt;
&lt;br /&gt;
'''PATCH'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://domain/api/affiliate/setpayviainfo&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Response: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[&lt;br /&gt;
    {&lt;br /&gt;
        &amp;quot;field&amp;quot;:&amp;quot;Payvia Type&amp;quot;,&lt;br /&gt;
        &amp;quot;result&amp;quot;:&amp;quot;Updated Payvia Type to 1 for loginid 1&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
        &amp;quot;field&amp;quot;:&amp;quot;Pay To&amp;quot;,&lt;br /&gt;
        &amp;quot;result&amp;quot;:&amp;quot;Updated Payvia Info: 'Pay To' is now 'TestPayTo'&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    {&lt;br /&gt;
        &amp;quot;field&amp;quot;:&amp;quot;Address&amp;quot;,&lt;br /&gt;
        &amp;quot;result&amp;quot;:&amp;quot;Updated Payvia Info: 'Address' is now 'Riga, Latvia'&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== '''Example Code''' ==&lt;br /&gt;
&lt;br /&gt;
'''PHP'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
$curl = curl_init();&lt;br /&gt;
&lt;br /&gt;
$payvia_info = array();&lt;br /&gt;
$payvia_info[] = array(&lt;br /&gt;
    'field' =&amp;gt; 'Pay To',&lt;br /&gt;
    'value' =&amp;gt; 'TestPayTo'&lt;br /&gt;
);&lt;br /&gt;
$payvia_info[] = array(&lt;br /&gt;
    'field' =&amp;gt; 'Address',&lt;br /&gt;
    'value' =&amp;gt; 'Riga, Latvia'&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$data = array(&lt;br /&gt;
    'loginid' =&amp;gt; 1,&lt;br /&gt;
    'payvia_type_id' =&amp;gt; '1',&lt;br /&gt;
    'payvia_info' =&amp;gt; $payvia_info&lt;br /&gt;
);&lt;br /&gt;
&lt;br /&gt;
$url = 'http://domain/api/affiliate/setpayviainfo';&lt;br /&gt;
&lt;br /&gt;
$headers = array(&lt;br /&gt;
    'api-key: 44b5498dbcb481a0d00b404c0169af62',&lt;br /&gt;
    'api-username: productsupport'&lt;br /&gt;
);&lt;br /&gt;
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, &amp;quot;PATCH&amp;quot;);&lt;br /&gt;
curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);&lt;br /&gt;
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);&lt;br /&gt;
curl_setopt($curl, CURLOPT_POSTFIELDS, http_build_query($data));&lt;br /&gt;
curl_setopt($curl, CURLOPT_URL, $url);&lt;br /&gt;
&lt;br /&gt;
$resp = curl_exec($curl);&lt;br /&gt;
//dumps an associative array representation of the json&lt;br /&gt;
var_dump(json_decode($resp, true));&lt;br /&gt;
// Close request to clear up some resources&lt;br /&gt;
curl_close($curl);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OfferitDave</name></author>	</entry>

	</feed>