Authorization


Registration   Forgot password?

Changing Customer Information


If you wish to change the information about customer (address,company name etc.) please open the following file:

order_edit_customer.php


Legend:
<element> – optional elements
param – required parameters
param – optional parameters

API Request:
POST /API/order_edit_customer.php?api_id=id&api_key=key HTTP/1.1
Host: www.shopxml.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

id=order_id&email=string&comment=string&ship_address1=string&ship_zip=string&bill_address1=string&...
(all the possible request parameters can be found below)

API Response:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8" ?> 
<status>1</status>


Request parameters (not essential to use unless specified):

id - order ID (essential)
email - customer's email address
comment - customer's order comment
Shipping-address:
ship_first_name - first name
ship_last_name - last name
ship_company - company
ship_address1 - address line 1
ship_address2 - address line 2
ship_city - city
ship_state - state/province code (please refer to the Appendixes)
ship_zip - postal code
ship_country - country code (2 letter ISOľ3166 code)
ship_tel - telephone number
ship_fax - fax number
Billing-address:
bill_first_name - first name
bill_last_name - last name
bill_company - company
bill_address1 - address line 1
bill_address2 - address line 2
bill_city - city
bill_state - state/province code (please refer to the Appendixes)
bill_zip - postal code
bill_country - country code (2 letter ISOľ3166 code)
bill_tel - telephone number
bill_fax - fax number


Response parameters:

If no error occurs the answer field gives the operation status in XML format as following:

<status> - 1 defines success
Contact Us Legal and Policies Sitemap
© XMLShop.com 2004 – 2018