The data contained in each XML node must be urlencoded. For example, spaces would be translated into plus signs:
Wrong: <bill_first_name>Dudley Heromin</bill_first_name>
Correct: <bill_first_name>Dudley+Heromin</bill_first_name>
The following fields can be used in the submitted XML query to specify the fields in the customer's database record to modify:
admin_sid: The SID number of the admin submitting the query.
admin_key: The personal API Key of the admin submitting the query. (Found on the
Admin Account Editor page.)
api_key: The account-wide API Key. (Found on the
System Settings page.)
id: The
SID (System ID) number of the customer record to be modified.
email: The customer's email address.
Every customer record must have a unique email address.
password: The customer account's password.
bill_first_name: The first name of the customer's billing address.
bill_last_name: The last name of the customer's billing address.
bill_address_1: The first line of the customer's billing address.
bill_address_2: The second line of the customer's billing address.
bill_city: The customer's billing city.
bill_state: The customer's billing state. Must be formatted as: the two-character ISO code of the customer's billing state, followed by an underscore, followed by the two-character ISO code for the customer's country.
For example, the bill_state for a customer in Washington, USA would be WA_US. The bill_sate for a customer in Western Australia would be WA_AU.
bill_zip: The customer's billing zip/postal code.
bill_country: The two-character ISO code of the customer's billing country.
phone_ac: The area code of the customer's phone number.
phone: The customer's phone number.
active: Whether the customer account is active. If zero, then the customer account is inactive, and will not be able to place orders in the storefront or log in to their customer account area. If set to any value greater than zero, then the customer account is active.
reward_points: The number of Reward Points the customer has.
has_tab: Whether or not the customer has a credit account. If zero, then the customer does not have a credit account. If greater than zero, then the do.
tab_terms: The number of days in the term for the customer's credit account.
tab_limit: The dollar value of the customer's credit account.
tax_exempt: Whether or not the customer is tax exempt. If zero, then the customer is not tax exempt. If greater than zero, then they are.
is_aff: Whether or not the customer is also an affiliate. If zero, then the customer is not an affiliate. If greater than zero, then they are.
aff_approved: Whether or not the customer's affiliate status has been approved. If zero, then the customer is not approved, and will not earn commissions, even on eligible purchases. If greater than zero, then they are.
aff_parent_tid: The affiliate TID (Tracking ID) number, if any, that the customer is associated with.
aff_company: The name of the affiliate's company.
aff_url: The URL (web address) of the affiliate's website.
aff_fax: The affiliate's fax number.
aff_payable_to: Whether the affiliate is considered an individual or company. Acceptable values for this field are "I" or "C".
aff_tax_class: Whether the affiliate's tax class is an Individual, Corporation or Non-profit organization. Acceptable values for this field are "I", "C" or "N".
aff_tax_id: The affiliate's tax ID number.
SHIPPING ADDRESSES
The shipping_addresses section contains the "ship_address" node, which is repeated for each shipping address to be modified.
id: The SID number of the shipping address.
ship_first_name: The first name of the customer's shipping address.
ship_last_name: The last name of the customer's shipping address.
ship_address_1: The first line of the customer's shipping address.
ship_address_2: The second line of the customer's shipping address.
ship_city: The customer's shipping city.
ship_state: The customer's shipping state. Must be formatted as: the two-character ISO code of the customer's shipping state, followed by an underscore, followed by the two-character ISO code for the customer's country.
For example, the ship_state for a customer in Washington, USA would be WA_US. The ship_sate for a customer in Western Australia would be WA_AU.
ship_zip: The customer's shipping zip/postal code.
ship_country: The two-character ISO code of the customer's shipping country.