<?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=OffBen</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=OffBen"/>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Special:Contributions/OffBen"/>
		<updated>2026-04-29T20:39:11Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.5</generator>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Add_Affiliate_Sale&amp;diff=3452</id>
		<title>Offerit API Add Affiliate Sale</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Add_Affiliate_Sale&amp;diff=3452"/>
				<updated>2014-06-29T15:34:51Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: /* NuSOAP Example */&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;
This function allows you to add a sale for a specific affiliate. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
&lt;br /&gt;
* '''orderid''' - OPTIONAL: Your unique orderid that will be associated with the Offerit customer record (This is a value you determine on your end and pass it in)&lt;br /&gt;
* '''amount''' - The amount spent on the offer by the customer (optional)&lt;br /&gt;
* '''offeritcode''' - This can be either the encoded, un-encoded, or shortname version of the OfferIt Code. You can take this code out of the URL during a conversion and just pass it along.  This will tell Offerit which offer, landing page, commission, and affiliate this traffic is for.&lt;br /&gt;
* '''customer''' - OPTIONAL: The name of the array used to pass in customer data with the following elements:&lt;br /&gt;
** '''username''' - The customer's User Name&lt;br /&gt;
** '''subscriptionid''' - The customer ID used to identify this subscription for any future transactions&lt;br /&gt;
** '''password''' - The customer's Password&lt;br /&gt;
** '''firstname''' - The customer's First name&lt;br /&gt;
** '''lastname''' - The customer's Last name&lt;br /&gt;
** '''address1''' - The customer's Address&lt;br /&gt;
** '''address2''' - The customer's Address 2&lt;br /&gt;
** '''zip''' - The customer's Zip Code&lt;br /&gt;
** '''city''' - The customer's City&lt;br /&gt;
** '''country''' - The customer's Country&lt;br /&gt;
** '''state''' - The customer's State&lt;br /&gt;
** '''ip''' - strtolong value of the customers IP&lt;br /&gt;
** '''shipping_firstname''' - The customer's Shipping First name&lt;br /&gt;
** '''shipping_lastname''' - The customer's Shipping Last name&lt;br /&gt;
** '''shipping_address1''' - The customer's Shipping Address&lt;br /&gt;
** '''shipping_address2''' - The customer's Shipping Address 2&lt;br /&gt;
** '''shipping_zip''' - The customer's Shipping Zip Code&lt;br /&gt;
** '''shipping_city''' - The customer's Shipping City&lt;br /&gt;
** '''shipping_country''' - The customer's Shipping  Country&lt;br /&gt;
** '''shipping_state''' - The customer's Shipping State&lt;br /&gt;
** '''phone''' - The customer's Phone Number&lt;br /&gt;
** '''email''' - The customer's Email Address&lt;br /&gt;
** '''mailok''' - Can Offerit send the customer an Email?&lt;br /&gt;
** '''custom1''' - Store custom data about the customer&lt;br /&gt;
** '''custom2''' - Store custom data about the customer&lt;br /&gt;
** '''custom3''' - Store custom data about the customer&lt;br /&gt;
** '''custom4''' - Store custom data about the customer&lt;br /&gt;
** '''custom5''' - Store custom data about the customer&lt;br /&gt;
* '''currency''' - OPTIONAL: The three-letter abbreviation of the currency type&lt;br /&gt;
* '''time''' - OPTIONAL: The time the sale occurred as a unix timestamp or mysql date format&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
    'orderid'=&amp;gt;'ABCDEFGHI',&lt;br /&gt;
    'amount'=&amp;gt;1,&lt;br /&gt;
    'offeritcode'=&amp;gt;'Mi4yLjEuMS4wLjAuMC4wLjAuMC4wLjA',&lt;br /&gt;
    'customer'=&amp;gt;Array(&lt;br /&gt;
        'firstname'=&amp;gt;'Ben',&lt;br /&gt;
        'lastname'=&amp;gt;'Offerit'&lt;br /&gt;
    )&lt;br /&gt;
);&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('set_aff_sales_add', $values, 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sample Output ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
On success:&lt;br /&gt;
  array(3) {&lt;br /&gt;
    [&amp;quot;message&amp;quot;]=&amp;gt;string(11) &amp;quot;Add Success&amp;quot;&lt;br /&gt;
    [&amp;quot;customerid&amp;quot;]=&amp;gt;int(124)&lt;br /&gt;
    [&amp;quot;orderid&amp;quot;]=&amp;gt;string(9) &amp;quot;ABCDEFGHI&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
On error:&lt;br /&gt;
      error message&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Add_Affiliate&amp;diff=3451</id>
		<title>Offerit API Add Affiliate</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Add_Affiliate&amp;diff=3451"/>
				<updated>2014-06-29T15:32:37Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: /* NuSOAP Example */&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;
This function allows you to add data for a specific affiliate. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
&lt;br /&gt;
*'''username''' - Username of the affiliate.&lt;br /&gt;
*'''password''' - Password for the affiliate.&lt;br /&gt;
*'''firstname''' - Affiliate's first name.&lt;br /&gt;
*'''lastname''' - Affiliate's last name.&lt;br /&gt;
*'''email''' - The affiliate's email.&lt;br /&gt;
*'''company''' - The affiliate's company.&lt;br /&gt;
*'''url''' - The affiliate's url.&lt;br /&gt;
*'''tel''' - Affiliate's telephone number.&lt;br /&gt;
*'''icq''' - The affiliate's ICQ.&lt;br /&gt;
*'''aim''' - The affilaite's AIM.&lt;br /&gt;
*'''msn''' - The affiliate's MSN.&lt;br /&gt;
*'''address1''' - First line of the affiliate's address.&lt;br /&gt;
*'''address2''' - Second line of the affiliate's address.&lt;br /&gt;
*'''city''' - The affiliate's city.&lt;br /&gt;
*'''state''' - The affiliate's state.&lt;br /&gt;
*'''country''' - The affiliate's country.&lt;br /&gt;
*'''zip_code''' - The affiliate's zip code.&lt;br /&gt;
*'''tax_id_or_ssn''' - The affiliate's tax ID or Social Security number.&lt;br /&gt;
*'''ref''' - If the affiliate was referred by another affiliate, enter their affiliate ID here.&lt;br /&gt;
*'''minimum_payout''' - The minimum payout for this affiliate.&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
 'username' =&amp;gt; 'offtest',&lt;br /&gt;
 'password' =&amp;gt; 'fdsafdsa',&lt;br /&gt;
 'firstname' =&amp;gt; 'tester',&lt;br /&gt;
 'lastname' =&amp;gt; 'testtest',&lt;br /&gt;
 'email' =&amp;gt; 'test321@test.com',&lt;br /&gt;
 'company' =&amp;gt; 'testing co.',&lt;br /&gt;
 'url' =&amp;gt; 'test.com',&lt;br /&gt;
 'tel' =&amp;gt; '123-1234',&lt;br /&gt;
 'icq' =&amp;gt; '',&lt;br /&gt;
 'aim' =&amp;gt; '',&lt;br /&gt;
 'msn' =&amp;gt; '',&lt;br /&gt;
 'address1' =&amp;gt; '123 main st',&lt;br /&gt;
 'address2' =&amp;gt; '',&lt;br /&gt;
 'city' =&amp;gt; 'anytown',&lt;br /&gt;
 'state' =&amp;gt; 'nj',&lt;br /&gt;
 'country' =&amp;gt; 'usa',&lt;br /&gt;
 'zip_code' =&amp;gt; 12345,&lt;br /&gt;
 'tax_id_or_ssn' =&amp;gt; '',&lt;br /&gt;
 'ref' =&amp;gt; '',&lt;br /&gt;
 'minimum_payout' =&amp;gt; '50'&lt;br /&gt;
   );&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('add_affs', $values, 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Sample Output ===&lt;br /&gt;
You will get a response similar to the following for each of the affiliates created:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Array&lt;br /&gt;
Array&lt;br /&gt;
(&lt;br /&gt;
    [0] =&amp;gt; Array&lt;br /&gt;
        (&lt;br /&gt;
            [result] =&amp;gt; 1&lt;br /&gt;
            [loginid] =&amp;gt; 5&lt;br /&gt;
        )&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2780</id>
		<title>Offerit API Set Member Details</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2780"/>
				<updated>2013-01-15T19:33:54Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: /* Server Request/Response */&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;
This function is used to update a member in Offerit. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
*'''memberid''' - the ID of the member to modify&lt;br /&gt;
&lt;br /&gt;
The following are optional parameters:&lt;br /&gt;
*'''firstname''' - The first name of the member&lt;br /&gt;
*'''lastname'''  - The last name of the member&lt;br /&gt;
*'''email'''  - The email address of the member&lt;br /&gt;
*'''address1''' - The address of the member&lt;br /&gt;
*'''address2''' - The address of the member&lt;br /&gt;
*'''city''' - The city of the member&lt;br /&gt;
*'''state''' - The state of the member&lt;br /&gt;
*'''country''' - The country of the member&lt;br /&gt;
*'''zip''' - The zip code of the member&lt;br /&gt;
*'''custom1''' - The custom1 field  of the member&lt;br /&gt;
*'''custom2''' - The custom2 field  of the member&lt;br /&gt;
*'''custom3''' - The custom3 field  of the member&lt;br /&gt;
*'''custom4''' - The custom4 field  of the member&lt;br /&gt;
*'''custom5''' - The custom5 field  of the member&lt;br /&gt;
*'''password''' - The new password of the member&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
    'memberid'=&amp;gt;'34',&lt;br /&gt;
    'firstname'=&amp;gt;'Megan',&lt;br /&gt;
    'lastname'=&amp;gt;'Tester'&lt;br /&gt;
    )&lt;br /&gt;
);&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('get_member_data', $values, 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sample Output ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
on success:&lt;br /&gt;
      1&lt;br /&gt;
   &lt;br /&gt;
on failure:&lt;br /&gt;
      &amp;lt;no output&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server Request/Response==&lt;br /&gt;
'''Request:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;tns:set_member_details xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;memberid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;34&amp;lt;/orderid&amp;gt;&lt;br /&gt;
			&amp;lt;firstname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Megan&amp;lt;/firstname&amp;gt;&lt;br /&gt;
			&amp;lt;lastname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Tester&amp;lt;/lastname&amp;gt;&lt;br /&gt;
		&amp;lt;/tns:set_member_details&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;ns1:set_member_detailsResponse xmlns:ns1=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;return xsi:type=&amp;quot;xsd:boolean&amp;quot;&amp;gt;true&amp;lt;/return&amp;gt;&lt;br /&gt;
                &amp;lt;/ns1:set_member_detailsResponse&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
        &amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2779</id>
		<title>Offerit API Set Member Details</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2779"/>
				<updated>2013-01-15T19:33:07Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: /* Server Request/Response */&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;
This function is used to update a member in Offerit. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
*'''memberid''' - the ID of the member to modify&lt;br /&gt;
&lt;br /&gt;
The following are optional parameters:&lt;br /&gt;
*'''firstname''' - The first name of the member&lt;br /&gt;
*'''lastname'''  - The last name of the member&lt;br /&gt;
*'''email'''  - The email address of the member&lt;br /&gt;
*'''address1''' - The address of the member&lt;br /&gt;
*'''address2''' - The address of the member&lt;br /&gt;
*'''city''' - The city of the member&lt;br /&gt;
*'''state''' - The state of the member&lt;br /&gt;
*'''country''' - The country of the member&lt;br /&gt;
*'''zip''' - The zip code of the member&lt;br /&gt;
*'''custom1''' - The custom1 field  of the member&lt;br /&gt;
*'''custom2''' - The custom2 field  of the member&lt;br /&gt;
*'''custom3''' - The custom3 field  of the member&lt;br /&gt;
*'''custom4''' - The custom4 field  of the member&lt;br /&gt;
*'''custom5''' - The custom5 field  of the member&lt;br /&gt;
*'''password''' - The new password of the member&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
    'memberid'=&amp;gt;'34',&lt;br /&gt;
    'firstname'=&amp;gt;'Megan',&lt;br /&gt;
    'lastname'=&amp;gt;'Tester'&lt;br /&gt;
    )&lt;br /&gt;
);&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('get_member_data', $values, 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sample Output ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
on success:&lt;br /&gt;
      1&lt;br /&gt;
   &lt;br /&gt;
on failure:&lt;br /&gt;
      &amp;lt;no output&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server Request/Response==&lt;br /&gt;
'''Request:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;tns:set_member_details xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;memberid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;34&amp;lt;/orderid&amp;gt;&lt;br /&gt;
			&amp;lt;customer xsi:type=&amp;quot;tns:Member&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;firstname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Megan&amp;lt;/firstname&amp;gt;&lt;br /&gt;
				&amp;lt;lastname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Tester&amp;lt;/lastname&amp;gt;&lt;br /&gt;
		&amp;lt;/tns:set_member_details&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;ns1:set_member_detailsResponse xmlns:ns1=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;return xsi:type=&amp;quot;xsd:boolean&amp;quot;&amp;gt;true&amp;lt;/return&amp;gt;&lt;br /&gt;
                &amp;lt;/ns1:set_member_detailsResponse&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
        &amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2778</id>
		<title>Offerit API Set Member Details</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2778"/>
				<updated>2013-01-15T19:32:55Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: /* Server Request/Response */&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;
This function is used to update a member in Offerit. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
*'''memberid''' - the ID of the member to modify&lt;br /&gt;
&lt;br /&gt;
The following are optional parameters:&lt;br /&gt;
*'''firstname''' - The first name of the member&lt;br /&gt;
*'''lastname'''  - The last name of the member&lt;br /&gt;
*'''email'''  - The email address of the member&lt;br /&gt;
*'''address1''' - The address of the member&lt;br /&gt;
*'''address2''' - The address of the member&lt;br /&gt;
*'''city''' - The city of the member&lt;br /&gt;
*'''state''' - The state of the member&lt;br /&gt;
*'''country''' - The country of the member&lt;br /&gt;
*'''zip''' - The zip code of the member&lt;br /&gt;
*'''custom1''' - The custom1 field  of the member&lt;br /&gt;
*'''custom2''' - The custom2 field  of the member&lt;br /&gt;
*'''custom3''' - The custom3 field  of the member&lt;br /&gt;
*'''custom4''' - The custom4 field  of the member&lt;br /&gt;
*'''custom5''' - The custom5 field  of the member&lt;br /&gt;
*'''password''' - The new password of the member&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
    'memberid'=&amp;gt;'34',&lt;br /&gt;
    'firstname'=&amp;gt;'Megan',&lt;br /&gt;
    'lastname'=&amp;gt;'Tester'&lt;br /&gt;
    )&lt;br /&gt;
);&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('get_member_data', $values, 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sample Output ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
on success:&lt;br /&gt;
      1&lt;br /&gt;
   &lt;br /&gt;
on failure:&lt;br /&gt;
      &amp;lt;no output&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server Request/Response==&lt;br /&gt;
'''Request:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;tns:set_member_details xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;memberid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;123&amp;lt;/orderid&amp;gt;&lt;br /&gt;
			&amp;lt;customer xsi:type=&amp;quot;tns:Member&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;firstname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Megan&amp;lt;/firstname&amp;gt;&lt;br /&gt;
				&amp;lt;lastname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Tester&amp;lt;/lastname&amp;gt;&lt;br /&gt;
		&amp;lt;/tns:set_member_details&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;ns1:set_member_detailsResponse xmlns:ns1=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;return xsi:type=&amp;quot;xsd:boolean&amp;quot;&amp;gt;true&amp;lt;/return&amp;gt;&lt;br /&gt;
                &amp;lt;/ns1:set_member_detailsResponse&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
        &amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2777</id>
		<title>Offerit API Set Member Details</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2777"/>
				<updated>2013-01-15T19:29:05Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: /* Server Request/Response */&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;
This function is used to update a member in Offerit. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
*'''memberid''' - the ID of the member to modify&lt;br /&gt;
&lt;br /&gt;
The following are optional parameters:&lt;br /&gt;
*'''firstname''' - The first name of the member&lt;br /&gt;
*'''lastname'''  - The last name of the member&lt;br /&gt;
*'''email'''  - The email address of the member&lt;br /&gt;
*'''address1''' - The address of the member&lt;br /&gt;
*'''address2''' - The address of the member&lt;br /&gt;
*'''city''' - The city of the member&lt;br /&gt;
*'''state''' - The state of the member&lt;br /&gt;
*'''country''' - The country of the member&lt;br /&gt;
*'''zip''' - The zip code of the member&lt;br /&gt;
*'''custom1''' - The custom1 field  of the member&lt;br /&gt;
*'''custom2''' - The custom2 field  of the member&lt;br /&gt;
*'''custom3''' - The custom3 field  of the member&lt;br /&gt;
*'''custom4''' - The custom4 field  of the member&lt;br /&gt;
*'''custom5''' - The custom5 field  of the member&lt;br /&gt;
*'''password''' - The new password of the member&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
    'memberid'=&amp;gt;'34',&lt;br /&gt;
    'firstname'=&amp;gt;'Megan',&lt;br /&gt;
    'lastname'=&amp;gt;'Tester'&lt;br /&gt;
    )&lt;br /&gt;
);&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('get_member_data', $values, 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sample Output ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
on success:&lt;br /&gt;
      1&lt;br /&gt;
   &lt;br /&gt;
on failure:&lt;br /&gt;
      &amp;lt;no output&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server Request/Response==&lt;br /&gt;
'''Request:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;tns:set_aff_sales_add xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;orderid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;ABCDEFGHI&amp;lt;/orderid&amp;gt;&lt;br /&gt;
			&amp;lt;amount xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;1&amp;lt;/amount&amp;gt;&lt;br /&gt;
                        &amp;lt;offeritcode xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Mi4yLjEuMS4wLjAuMC4wLjAuMC4wLjA&amp;lt;/offeritcode&amp;gt;&lt;br /&gt;
			&amp;lt;customer xsi:type=&amp;quot;tns:Member&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;firstname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Ben&amp;lt;/firstname&amp;gt;&lt;br /&gt;
				&amp;lt;lastname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;OfferIt&amp;lt;/lastname&amp;gt;&lt;br /&gt;
			&amp;lt;currency xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;USD&amp;lt;/currency&amp;gt;&lt;br /&gt;
			&amp;lt;time xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;1319475600&amp;lt;/time&amp;gt;&lt;br /&gt;
		&amp;lt;/tns:set_aff_sales_add&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;ns1:set_member_detailsResponse xmlns:ns1=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;return xsi:type=&amp;quot;xsd:boolean&amp;quot;&amp;gt;true&amp;lt;/return&amp;gt;&lt;br /&gt;
                &amp;lt;/ns1:set_member_detailsResponse&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
        &amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2776</id>
		<title>Offerit API Set Member Details</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2776"/>
				<updated>2013-01-15T19:26:31Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: /* Sample Output */&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;
This function is used to update a member in Offerit. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
*'''memberid''' - the ID of the member to modify&lt;br /&gt;
&lt;br /&gt;
The following are optional parameters:&lt;br /&gt;
*'''firstname''' - The first name of the member&lt;br /&gt;
*'''lastname'''  - The last name of the member&lt;br /&gt;
*'''email'''  - The email address of the member&lt;br /&gt;
*'''address1''' - The address of the member&lt;br /&gt;
*'''address2''' - The address of the member&lt;br /&gt;
*'''city''' - The city of the member&lt;br /&gt;
*'''state''' - The state of the member&lt;br /&gt;
*'''country''' - The country of the member&lt;br /&gt;
*'''zip''' - The zip code of the member&lt;br /&gt;
*'''custom1''' - The custom1 field  of the member&lt;br /&gt;
*'''custom2''' - The custom2 field  of the member&lt;br /&gt;
*'''custom3''' - The custom3 field  of the member&lt;br /&gt;
*'''custom4''' - The custom4 field  of the member&lt;br /&gt;
*'''custom5''' - The custom5 field  of the member&lt;br /&gt;
*'''password''' - The new password of the member&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
    'memberid'=&amp;gt;'34',&lt;br /&gt;
    'firstname'=&amp;gt;'Megan',&lt;br /&gt;
    'lastname'=&amp;gt;'Tester'&lt;br /&gt;
    )&lt;br /&gt;
);&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('get_member_data', $values, 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sample Output ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
on success:&lt;br /&gt;
      1&lt;br /&gt;
   &lt;br /&gt;
on failure:&lt;br /&gt;
      &amp;lt;no output&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server Request/Response==&lt;br /&gt;
'''Request:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;tns:set_aff_sales_add xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;orderid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;ABCDEFGHI&amp;lt;/orderid&amp;gt;&lt;br /&gt;
			&amp;lt;amount xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;1&amp;lt;/amount&amp;gt;&lt;br /&gt;
                        &amp;lt;offeritcode xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Mi4yLjEuMS4wLjAuMC4wLjAuMC4wLjA&amp;lt;/offeritcode&amp;gt;&lt;br /&gt;
			&amp;lt;customer xsi:type=&amp;quot;tns:Member&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;firstname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Ben&amp;lt;/firstname&amp;gt;&lt;br /&gt;
				&amp;lt;lastname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;OfferIt&amp;lt;/lastname&amp;gt;&lt;br /&gt;
			&amp;lt;currency xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;USD&amp;lt;/currency&amp;gt;&lt;br /&gt;
			&amp;lt;time xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;1319475600&amp;lt;/time&amp;gt;&lt;br /&gt;
		&amp;lt;/tns:set_aff_sales_add&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;ns1:set_aff_sales_addResponse xmlns:ns1=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;message xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Add Success&amp;lt;/message&amp;gt;&amp;lt;customerid xsi:type=&amp;quot;xsd:int&amp;quot;&amp;gt;124&amp;lt;/customerid&amp;gt;&amp;lt;orderid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;ABCDEFGHI&amp;lt;/orderid&amp;gt;&lt;br /&gt;
                &amp;lt;/ns1:set_aff_sales_addResponse&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
        &amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2775</id>
		<title>Offerit API Set Member Details</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2775"/>
				<updated>2013-01-15T19:25:23Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: /* NuSOAP Example */&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;
This function is used to update a member in Offerit. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
*'''memberid''' - the ID of the member to modify&lt;br /&gt;
&lt;br /&gt;
The following are optional parameters:&lt;br /&gt;
*'''firstname''' - The first name of the member&lt;br /&gt;
*'''lastname'''  - The last name of the member&lt;br /&gt;
*'''email'''  - The email address of the member&lt;br /&gt;
*'''address1''' - The address of the member&lt;br /&gt;
*'''address2''' - The address of the member&lt;br /&gt;
*'''city''' - The city of the member&lt;br /&gt;
*'''state''' - The state of the member&lt;br /&gt;
*'''country''' - The country of the member&lt;br /&gt;
*'''zip''' - The zip code of the member&lt;br /&gt;
*'''custom1''' - The custom1 field  of the member&lt;br /&gt;
*'''custom2''' - The custom2 field  of the member&lt;br /&gt;
*'''custom3''' - The custom3 field  of the member&lt;br /&gt;
*'''custom4''' - The custom4 field  of the member&lt;br /&gt;
*'''custom5''' - The custom5 field  of the member&lt;br /&gt;
*'''password''' - The new password of the member&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
    'memberid'=&amp;gt;'34',&lt;br /&gt;
    'firstname'=&amp;gt;'Megan',&lt;br /&gt;
    'lastname'=&amp;gt;'Tester'&lt;br /&gt;
    )&lt;br /&gt;
);&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('get_member_data', $values, 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sample Output ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
On success:&lt;br /&gt;
  array(3) {&lt;br /&gt;
    [&amp;quot;message&amp;quot;]=&amp;gt;string(11) &amp;quot;Add Success&amp;quot;&lt;br /&gt;
    [&amp;quot;customerid&amp;quot;]=&amp;gt;int(124)&lt;br /&gt;
    [&amp;quot;orderid&amp;quot;]=&amp;gt;string(9) &amp;quot;ABCDEFGHI&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
On error:&lt;br /&gt;
      error message&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server Request/Response==&lt;br /&gt;
'''Request:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;tns:set_aff_sales_add xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;orderid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;ABCDEFGHI&amp;lt;/orderid&amp;gt;&lt;br /&gt;
			&amp;lt;amount xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;1&amp;lt;/amount&amp;gt;&lt;br /&gt;
                        &amp;lt;offeritcode xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Mi4yLjEuMS4wLjAuMC4wLjAuMC4wLjA&amp;lt;/offeritcode&amp;gt;&lt;br /&gt;
			&amp;lt;customer xsi:type=&amp;quot;tns:Member&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;firstname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Ben&amp;lt;/firstname&amp;gt;&lt;br /&gt;
				&amp;lt;lastname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;OfferIt&amp;lt;/lastname&amp;gt;&lt;br /&gt;
			&amp;lt;currency xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;USD&amp;lt;/currency&amp;gt;&lt;br /&gt;
			&amp;lt;time xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;1319475600&amp;lt;/time&amp;gt;&lt;br /&gt;
		&amp;lt;/tns:set_aff_sales_add&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;ns1:set_aff_sales_addResponse xmlns:ns1=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;message xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Add Success&amp;lt;/message&amp;gt;&amp;lt;customerid xsi:type=&amp;quot;xsd:int&amp;quot;&amp;gt;124&amp;lt;/customerid&amp;gt;&amp;lt;orderid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;ABCDEFGHI&amp;lt;/orderid&amp;gt;&lt;br /&gt;
                &amp;lt;/ns1:set_aff_sales_addResponse&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
        &amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2774</id>
		<title>Offerit API Set Member Details</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2774"/>
				<updated>2013-01-15T19:23:25Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: /* Server Request/Response */&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;
This function is used to update a member in Offerit. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
*'''memberid''' - the ID of the member to modify&lt;br /&gt;
&lt;br /&gt;
The following are optional parameters:&lt;br /&gt;
*'''firstname''' - The first name of the member&lt;br /&gt;
*'''lastname'''  - The last name of the member&lt;br /&gt;
*'''email'''  - The email address of the member&lt;br /&gt;
*'''address1''' - The address of the member&lt;br /&gt;
*'''address2''' - The address of the member&lt;br /&gt;
*'''city''' - The city of the member&lt;br /&gt;
*'''state''' - The state of the member&lt;br /&gt;
*'''country''' - The country of the member&lt;br /&gt;
*'''zip''' - The zip code of the member&lt;br /&gt;
*'''custom1''' - The custom1 field  of the member&lt;br /&gt;
*'''custom2''' - The custom2 field  of the member&lt;br /&gt;
*'''custom3''' - The custom3 field  of the member&lt;br /&gt;
*'''custom4''' - The custom4 field  of the member&lt;br /&gt;
*'''custom5''' - The custom5 field  of the member&lt;br /&gt;
*'''password''' - The new password of the member&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
    'memberid'=&amp;gt;'34',&lt;br /&gt;
    'firstname'=&amp;gt;'Megan',&lt;br /&gt;
    'lastname'=&amp;gt;'Murray'&lt;br /&gt;
    )&lt;br /&gt;
);&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('get_member_data', $values, 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sample Output ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
On success:&lt;br /&gt;
  array(3) {&lt;br /&gt;
    [&amp;quot;message&amp;quot;]=&amp;gt;string(11) &amp;quot;Add Success&amp;quot;&lt;br /&gt;
    [&amp;quot;customerid&amp;quot;]=&amp;gt;int(124)&lt;br /&gt;
    [&amp;quot;orderid&amp;quot;]=&amp;gt;string(9) &amp;quot;ABCDEFGHI&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
On error:&lt;br /&gt;
      error message&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server Request/Response==&lt;br /&gt;
'''Request:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;tns:set_aff_sales_add xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;orderid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;ABCDEFGHI&amp;lt;/orderid&amp;gt;&lt;br /&gt;
			&amp;lt;amount xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;1&amp;lt;/amount&amp;gt;&lt;br /&gt;
                        &amp;lt;offeritcode xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Mi4yLjEuMS4wLjAuMC4wLjAuMC4wLjA&amp;lt;/offeritcode&amp;gt;&lt;br /&gt;
			&amp;lt;customer xsi:type=&amp;quot;tns:Member&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;firstname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Ben&amp;lt;/firstname&amp;gt;&lt;br /&gt;
				&amp;lt;lastname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;OfferIt&amp;lt;/lastname&amp;gt;&lt;br /&gt;
			&amp;lt;currency xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;USD&amp;lt;/currency&amp;gt;&lt;br /&gt;
			&amp;lt;time xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;1319475600&amp;lt;/time&amp;gt;&lt;br /&gt;
		&amp;lt;/tns:set_aff_sales_add&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;ns1:set_aff_sales_addResponse xmlns:ns1=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;message xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Add Success&amp;lt;/message&amp;gt;&amp;lt;customerid xsi:type=&amp;quot;xsd:int&amp;quot;&amp;gt;124&amp;lt;/customerid&amp;gt;&amp;lt;orderid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;ABCDEFGHI&amp;lt;/orderid&amp;gt;&lt;br /&gt;
                &amp;lt;/ns1:set_aff_sales_addResponse&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
        &amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2773</id>
		<title>Offerit API Set Member Details</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2773"/>
				<updated>2013-01-15T19:22:57Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: /* Sample Output */&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;
This function is used to update a member in Offerit. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
*'''memberid''' - the ID of the member to modify&lt;br /&gt;
&lt;br /&gt;
The following are optional parameters:&lt;br /&gt;
*'''firstname''' - The first name of the member&lt;br /&gt;
*'''lastname'''  - The last name of the member&lt;br /&gt;
*'''email'''  - The email address of the member&lt;br /&gt;
*'''address1''' - The address of the member&lt;br /&gt;
*'''address2''' - The address of the member&lt;br /&gt;
*'''city''' - The city of the member&lt;br /&gt;
*'''state''' - The state of the member&lt;br /&gt;
*'''country''' - The country of the member&lt;br /&gt;
*'''zip''' - The zip code of the member&lt;br /&gt;
*'''custom1''' - The custom1 field  of the member&lt;br /&gt;
*'''custom2''' - The custom2 field  of the member&lt;br /&gt;
*'''custom3''' - The custom3 field  of the member&lt;br /&gt;
*'''custom4''' - The custom4 field  of the member&lt;br /&gt;
*'''custom5''' - The custom5 field  of the member&lt;br /&gt;
*'''password''' - The new password of the member&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
    'memberid'=&amp;gt;'34',&lt;br /&gt;
    'firstname'=&amp;gt;'Megan',&lt;br /&gt;
    'lastname'=&amp;gt;'Murray'&lt;br /&gt;
    )&lt;br /&gt;
);&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('get_member_data', $values, 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sample Output ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
On success:&lt;br /&gt;
  array(3) {&lt;br /&gt;
    [&amp;quot;message&amp;quot;]=&amp;gt;string(11) &amp;quot;Add Success&amp;quot;&lt;br /&gt;
    [&amp;quot;customerid&amp;quot;]=&amp;gt;int(124)&lt;br /&gt;
    [&amp;quot;orderid&amp;quot;]=&amp;gt;string(9) &amp;quot;ABCDEFGHI&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
On error:&lt;br /&gt;
      error message&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server Request/Response==&lt;br /&gt;
'''Request:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2772</id>
		<title>Offerit API Set Member Details</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Set_Member_Details&amp;diff=2772"/>
				<updated>2013-01-15T19:22:22Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: &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;
This function is used to update a member in Offerit. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
*'''memberid''' - the ID of the member to modify&lt;br /&gt;
&lt;br /&gt;
The following are optional parameters:&lt;br /&gt;
*'''firstname''' - The first name of the member&lt;br /&gt;
*'''lastname'''  - The last name of the member&lt;br /&gt;
*'''email'''  - The email address of the member&lt;br /&gt;
*'''address1''' - The address of the member&lt;br /&gt;
*'''address2''' - The address of the member&lt;br /&gt;
*'''city''' - The city of the member&lt;br /&gt;
*'''state''' - The state of the member&lt;br /&gt;
*'''country''' - The country of the member&lt;br /&gt;
*'''zip''' - The zip code of the member&lt;br /&gt;
*'''custom1''' - The custom1 field  of the member&lt;br /&gt;
*'''custom2''' - The custom2 field  of the member&lt;br /&gt;
*'''custom3''' - The custom3 field  of the member&lt;br /&gt;
*'''custom4''' - The custom4 field  of the member&lt;br /&gt;
*'''custom5''' - The custom5 field  of the member&lt;br /&gt;
*'''password''' - The new password of the member&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
    'memberid'=&amp;gt;'34',&lt;br /&gt;
    'firstname'=&amp;gt;'Megan',&lt;br /&gt;
    'lastname'=&amp;gt;'Murray'&lt;br /&gt;
    )&lt;br /&gt;
);&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('get_member_data', $values, 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Sample Output ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Server Request/Response==&lt;br /&gt;
'''Request:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Response:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Deny_Transaction&amp;diff=69</id>
		<title>Offerit API Deny Transaction</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Deny_Transaction&amp;diff=69"/>
				<updated>2011-10-26T19:02:08Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: &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;
This function allows you to deny a specific transaction for a customer. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
&lt;br /&gt;
* '''orderid''' - Your order ID of the sale&lt;br /&gt;
* '''customerid''' - The customer ID of the sale&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;tns:deny_transaction xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;transid xsi:type=&amp;quot;xsd:int&amp;quot;&amp;gt;265&amp;lt;/transid&amp;gt;&lt;br /&gt;
		&amp;lt;customerid xsi:type=&amp;quot;xsd:int&amp;quot;&amp;gt;130&amp;lt;/customerid&amp;gt;&lt;br /&gt;
	&amp;lt;/tns:deny_transaction&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will get a response similar to the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;ns1:deny_transactionResponse xmlns:ns1=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;return xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;ERROR - Unable to Deny Transaction Type&amp;lt;/return&amp;gt;&lt;br /&gt;
	&amp;lt;/ns1:deny_transactionResponse&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
      'transid' =&amp;gt; 265, &lt;br /&gt;
      'customerid' =&amp;gt; 130&lt;br /&gt;
   );&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('approve_transaction', Array(), 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sample Output ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
on success:&lt;br /&gt;
      SUCCESS&lt;br /&gt;
   &lt;br /&gt;
   on error:&lt;br /&gt;
      ERROR: error message&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Deny_Transaction&amp;diff=68</id>
		<title>Offerit API Deny Transaction</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Deny_Transaction&amp;diff=68"/>
				<updated>2011-10-26T19:01:55Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: &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;
This function allows you to deny a specific transaction for a customer. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
&lt;br /&gt;
* '''ordersid''' - Your order ID of the sale&lt;br /&gt;
* '''customerid''' - The customer ID of the sale&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;tns:deny_transaction xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;transid xsi:type=&amp;quot;xsd:int&amp;quot;&amp;gt;265&amp;lt;/transid&amp;gt;&lt;br /&gt;
		&amp;lt;customerid xsi:type=&amp;quot;xsd:int&amp;quot;&amp;gt;130&amp;lt;/customerid&amp;gt;&lt;br /&gt;
	&amp;lt;/tns:deny_transaction&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will get a response similar to the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;ns1:deny_transactionResponse xmlns:ns1=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;return xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;ERROR - Unable to Deny Transaction Type&amp;lt;/return&amp;gt;&lt;br /&gt;
	&amp;lt;/ns1:deny_transactionResponse&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
      'transid' =&amp;gt; 265, &lt;br /&gt;
      'customerid' =&amp;gt; 130&lt;br /&gt;
   );&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('approve_transaction', Array(), 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sample Output ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
on success:&lt;br /&gt;
      SUCCESS&lt;br /&gt;
   &lt;br /&gt;
   on error:&lt;br /&gt;
      ERROR: error message&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Edit_Affiliate_Sale&amp;diff=67</id>
		<title>Offerit API Edit Affiliate Sale</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Edit_Affiliate_Sale&amp;diff=67"/>
				<updated>2011-10-26T18:45:51Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: &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;
This function allows you to edit a sale for a specific affiliate. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
&lt;br /&gt;
* '''orderid''' - Your unique orderid that will be associated with the OfferIt customer record&lt;br /&gt;
* '''customerid''' - The OfferIt Customer id&lt;br /&gt;
* '''amount''' - The amount of the sale&lt;br /&gt;
* '''offeritcode''' - This can be either the encoded, un-encoded, or shortname version of the OfferIt Code&lt;br /&gt;
* '''customer''' - OPTIONAL: The name of the array used to pass in customer data with the following elements:&lt;br /&gt;
** '''username''' - The customer's User Name&lt;br /&gt;
** '''password''' - The customer's Password&lt;br /&gt;
** '''firstname''' - The customer's First name&lt;br /&gt;
** '''lastname''' - The customer's Last name&lt;br /&gt;
** '''address1''' - The customer's Address&lt;br /&gt;
** '''address2''' - The customer's Address 2&lt;br /&gt;
** '''zip''' - The customer's Zip Code&lt;br /&gt;
** '''city''' - The customer's City&lt;br /&gt;
** '''country''' - The customer's Country&lt;br /&gt;
** '''state''' - The customer's State&lt;br /&gt;
** '''shipping_firstname''' - The customer's Shipping First name&lt;br /&gt;
** '''shipping_lastname''' - The customer's Shipping Last name&lt;br /&gt;
** '''shipping_address1''' - The customer's Shipping Address&lt;br /&gt;
** '''shipping_address2''' - The customer's Shipping Address 2&lt;br /&gt;
** '''shipping_zip''' - The customer's Shipping Zip Code&lt;br /&gt;
** '''shipping_city''' - The customer's Shipping City&lt;br /&gt;
** '''shipping_country''' - The customer's Shipping  Country&lt;br /&gt;
** '''shipping_state''' - The customer's Shipping State&lt;br /&gt;
** '''phone''' - The customer's Phone Number&lt;br /&gt;
** '''email''' - The customer's Email Address&lt;br /&gt;
** '''mailok''' - Can OfferIt send the customer an Email?&lt;br /&gt;
** '''custom1''' - Store custom data about the customer&lt;br /&gt;
** '''custom2''' - Store custom data about the customer&lt;br /&gt;
** '''custom3''' - Store custom data about the customer&lt;br /&gt;
** '''custom4''' - Store custom data about the customer&lt;br /&gt;
** '''custom5''' - Store custom data about the customer&lt;br /&gt;
* '''currency''' - OPTIONAL: The three-letter abbreviation of the currency type&lt;br /&gt;
* '''time''' - OPTIONAL: The time the sale occurred as a unix timestamp or mysql date format&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;tns:set_aff_sales_edit xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;orderid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;AAAAAAAAAAAAA&amp;lt;/orderid&amp;gt;&amp;lt;customerid xsi:type=&amp;quot;xsd:int&amp;quot;&amp;gt;129&amp;lt;/customerid&amp;gt;&lt;br /&gt;
		&amp;lt;amount xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;10&amp;lt;/amount&amp;gt;&amp;lt;offeritcode xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;2.1.1.1.0.0.0.0.0.0.0&amp;lt;/offeritcode&amp;gt;&lt;br /&gt;
		&amp;lt;customer xsi:type=&amp;quot;tns:Member&amp;quot;&amp;gt;&amp;lt;firstname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Ben&amp;lt;/firstname&amp;gt;&amp;lt;lastname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Warren&amp;lt;/lastname&amp;gt;&lt;br /&gt;
		&amp;lt;address1 xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;1114 W. Campus Drive&amp;lt;/address1&amp;gt;&amp;lt;zip xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;07751&amp;lt;/zip&amp;gt;&amp;lt;city xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Morganville&amp;lt;/city&amp;gt;&lt;br /&gt;
		&amp;lt;country xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;US&amp;lt;/country&amp;gt;&amp;lt;state xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;NJ&amp;lt;/state&amp;gt;&amp;lt;/customer&amp;gt;&lt;br /&gt;
		&amp;lt;reason xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Mistakenly credited sale to the wrong offer&amp;lt;/reason&amp;gt;&amp;lt;currency xsi:nil=&amp;quot;true&amp;quot; xsi:type=&amp;quot;xsd:string&amp;quot;/&amp;gt;&lt;br /&gt;
		&amp;lt;time xsi:nil=&amp;quot;true&amp;quot; xsi:type=&amp;quot;xsd:string&amp;quot;/&amp;gt;&amp;lt;/tns:set_aff_sales_edit&amp;gt;&lt;br /&gt;
	&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will get a response similar to the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;ns1:set_aff_sales_editResponse xmlns:ns1=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;message xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Edit Success&amp;lt;/message&amp;gt;&amp;lt;customerid xsi:type=&amp;quot;xsd:int&amp;quot;&amp;gt;129&amp;lt;/customerid&amp;gt;&amp;lt;orderid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;AAAAAAAAAAAAA&amp;lt;/orderid&amp;gt;&lt;br /&gt;
		&amp;lt;/ns1:set_aff_sales_editResponse&amp;gt;&lt;br /&gt;
	&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = array(&lt;br /&gt;
    'orderid' =&amp;gt; 'AAAAAAAAAAAAA',&lt;br /&gt;
    'customerid' =&amp;gt;129,&lt;br /&gt;
    'amount'=&amp;gt;10,&lt;br /&gt;
    'offeritcode'=&amp;gt;'2.1.1.1.0.0.0.0.0.0.0',&lt;br /&gt;
    'customer'=&amp;gt;Array(&lt;br /&gt;
        'firstname' =&amp;gt; 'Ben',&lt;br /&gt;
        'lastname' =&amp;gt; 'Warren',&lt;br /&gt;
        'address1' =&amp;gt; '1114 W. Campus Drive',&lt;br /&gt;
        'zip' =&amp;gt; '07751',&lt;br /&gt;
        'city' =&amp;gt; 'Morganville',&lt;br /&gt;
        'country' =&amp;gt; 'US',&lt;br /&gt;
        'state' =&amp;gt; 'NJ'&lt;br /&gt;
    ),&lt;br /&gt;
    'reason'=&amp;gt;'Mistakenly credited sale to the wrong offer'&lt;br /&gt;
);&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('set_aff_sales_add', Array(), 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sample Output ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
On success:&lt;br /&gt;
  array(3) {&lt;br /&gt;
  [&amp;quot;message&amp;quot;]=&amp;gt;string(12) &amp;quot;Edit Success&amp;quot;&lt;br /&gt;
  [&amp;quot;customerid&amp;quot;]=&amp;gt;int(129)&lt;br /&gt;
  [&amp;quot;orderid&amp;quot;]=&amp;gt;string(13) &amp;quot;AAAAAAAAAAAAA&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
On error:&lt;br /&gt;
      error message&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	<entry>
		<id>https://wiki.offerit.com/index.php?title=Offerit_API_Add_Affiliate_Sale&amp;diff=66</id>
		<title>Offerit API Add Affiliate Sale</title>
		<link rel="alternate" type="text/html" href="https://wiki.offerit.com/index.php?title=Offerit_API_Add_Affiliate_Sale&amp;diff=66"/>
				<updated>2011-10-26T17:42:49Z</updated>
		
		<summary type="html">&lt;p&gt;OffBen: &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;
This function allows you to add a sale for a specific affiliate. To use this function, you must make a SOAP call with the following parameters:&lt;br /&gt;
&lt;br /&gt;
* '''orderid''' - Your unique orderid that will be associated with the OfferIt customer record&lt;br /&gt;
* '''amount''' - The amount of the sale&lt;br /&gt;
* '''offeritcode''' - This can be either the encoded, un-encoded, or shortname version of the OfferIt Code&lt;br /&gt;
* '''customer''' - OPTIONAL: The name of the array used to pass in customer data with the following elements:&lt;br /&gt;
** '''username''' - The customer's User Name&lt;br /&gt;
** '''password''' - The customer's Password&lt;br /&gt;
** '''firstname''' - The customer's First name&lt;br /&gt;
** '''lastname''' - The customer's Last name&lt;br /&gt;
** '''address1''' - The customer's Address&lt;br /&gt;
** '''address2''' - The customer's Address 2&lt;br /&gt;
** '''zip''' - The customer's Zip Code&lt;br /&gt;
** '''city''' - The customer's City&lt;br /&gt;
** '''country''' - The customer's Country&lt;br /&gt;
** '''state''' - The customer's State&lt;br /&gt;
** '''shipping_firstname''' - The customer's Shipping First name&lt;br /&gt;
** '''shipping_lastname''' - The customer's Shipping Last name&lt;br /&gt;
** '''shipping_address1''' - The customer's Shipping Address&lt;br /&gt;
** '''shipping_address2''' - The customer's Shipping Address 2&lt;br /&gt;
** '''shipping_zip''' - The customer's Shipping Zip Code&lt;br /&gt;
** '''shipping_city''' - The customer's Shipping City&lt;br /&gt;
** '''shipping_country''' - The customer's Shipping  Country&lt;br /&gt;
** '''shipping_state''' - The customer's Shipping State&lt;br /&gt;
** '''phone''' - The customer's Phone Number&lt;br /&gt;
** '''email''' - The customer's Email Address&lt;br /&gt;
** '''mailok''' - Can OfferIt send the customer an Email?&lt;br /&gt;
** '''custom1''' - Store custom data about the customer&lt;br /&gt;
** '''custom2''' - Store custom data about the customer&lt;br /&gt;
** '''custom3''' - Store custom data about the customer&lt;br /&gt;
** '''custom4''' - Store custom data about the customer&lt;br /&gt;
** '''custom5''' - Store custom data about the customer&lt;br /&gt;
* '''currency''' - OPTIONAL: The three-letter abbreviation of the currency type&lt;br /&gt;
* '''time''' - OPTIONAL: The time the sale occurred as a unix timestamp or mysql date format&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;tns:set_aff_sales_add xmlns:tns=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
                        &amp;lt;orderid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;ABCDEFGHI&amp;lt;/orderid&amp;gt;&lt;br /&gt;
			&amp;lt;amount xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;1&amp;lt;/amount&amp;gt;&lt;br /&gt;
                        &amp;lt;offeritcode xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Mi4yLjEuMS4wLjAuMC4wLjAuMC4wLjA&amp;lt;/offeritcode&amp;gt;&lt;br /&gt;
			&amp;lt;customer xsi:type=&amp;quot;tns:Member&amp;quot;&amp;gt;&lt;br /&gt;
				&amp;lt;firstname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Ben&amp;lt;/firstname&amp;gt;&lt;br /&gt;
				&amp;lt;lastname xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;OfferIt&amp;lt;/lastname&amp;gt;&lt;br /&gt;
			&amp;lt;currency xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;USD&amp;lt;/currency&amp;gt;&lt;br /&gt;
			&amp;lt;time xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;1319475600&amp;lt;/time&amp;gt;&lt;br /&gt;
		&amp;lt;/tns:set_aff_sales_add&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You will get a response similar to the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;ISO-8859-1&amp;quot;?&amp;gt;&amp;lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot; &lt;br /&gt;
	xmlns:SOAP-ENV=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; &lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:SOAP-ENC=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;SOAP-ENV:Body&amp;gt;&amp;lt;ns1:set_aff_sales_addResponse xmlns:ns1=&amp;quot;urn:offeritapiadmin_wsdl&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;message xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;Add Success&amp;lt;/message&amp;gt;&amp;lt;customerid xsi:type=&amp;quot;xsd:int&amp;quot;&amp;gt;124&amp;lt;/customerid&amp;gt;&amp;lt;orderid xsi:type=&amp;quot;xsd:string&amp;quot;&amp;gt;ABCDEFGHI&amp;lt;/orderid&amp;gt;&lt;br /&gt;
                &amp;lt;/ns1:set_aff_sales_addResponse&amp;gt;&amp;lt;/SOAP-ENV:Body&amp;gt;&lt;br /&gt;
        &amp;lt;/SOAP-ENV:Envelope&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NuSOAP Example ==&lt;br /&gt;
&lt;br /&gt;
This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$values = Array(&lt;br /&gt;
    'orderid'=&amp;gt;'ABCDEFGHI',&lt;br /&gt;
    'amount'=&amp;gt;1,&lt;br /&gt;
    'offeritcode'=&amp;gt;'Mi4yLjEuMS4wLjAuMC4wLjAuMC4wLjA',&lt;br /&gt;
    'customer'=&amp;gt;Array(&lt;br /&gt;
        'firstname'=&amp;gt;'Ben',&lt;br /&gt;
        'lastname'=&amp;gt;'Warren'&lt;br /&gt;
    )&lt;br /&gt;
);&lt;br /&gt;
   &lt;br /&gt;
$result = $client-&amp;gt;call('set_aff_sales_add', Array(), 'offeritapiadmin_wsdl');&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Sample Output ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
On success:&lt;br /&gt;
  array(3) {&lt;br /&gt;
    [&amp;quot;message&amp;quot;]=&amp;gt;string(11) &amp;quot;Add Success&amp;quot;&lt;br /&gt;
    [&amp;quot;customerid&amp;quot;]=&amp;gt;int(124)&lt;br /&gt;
    [&amp;quot;orderid&amp;quot;]=&amp;gt;string(9) &amp;quot;ABCDEFGHI&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
   &lt;br /&gt;
On error:&lt;br /&gt;
      error message&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Offerit API Articles]]&lt;/div&gt;</summary>
		<author><name>OffBen</name></author>	</entry>

	</feed>