Difference between revisions of "Offerit API Set Member Details"
From Offerit
OfferitMegan (talk | contribs) |
OfferitMegan (talk | contribs) |
||
Line 16: | Line 16: | ||
*'''custom5''' - The custom5 field of the member | *'''custom5''' - The custom5 field of the member | ||
*'''password''' - The new password of the member | *'''password''' - The new password of the member | ||
+ | |||
+ | == NuSOAP Example == | ||
+ | |||
+ | This example continues from the [[Offerit_API#Example|main article NuSOAP Example]]: | ||
+ | |||
+ | <pre> | ||
+ | $values = Array( | ||
+ | 'memberid'=>'34', | ||
+ | 'firstname'=>'Megan', | ||
+ | 'lastname'=>'Murray' | ||
+ | ) | ||
+ | ); | ||
+ | |||
+ | $result = $client->call('get_member_data', $values, 'offeritapiadmin_wsdl'); | ||
+ | </pre> |
Revision as of 14:04, 15 January 2013
This function is used to update a member in Offerit. To use this function, you must make a SOAP call with the following parameters:
- memberid - the ID of the member to modify
- firstname - The first name of the member
- lastname - The last name of the member
- email - The email address of the member
- address1 - The address of the member
- address2 - The address of the member
- city - The city of the member
- state - The state of the member
- country - The country of the member
- zip - The zip code of the member
- custom1 - The custom1 field of the member
- custom2 - The custom2 field of the member
- custom3 - The custom3 field of the member
- custom4 - The custom4 field of the member
- custom5 - The custom5 field of the member
- password - The new password of the member
NuSOAP Example
This example continues from the main article NuSOAP Example:
$values = Array( 'memberid'=>'34', 'firstname'=>'Megan', 'lastname'=>'Murray' ) ); $result = $client->call('get_member_data', $values, 'offeritapiadmin_wsdl');