Changing Order Status and Shipping Information
If you wish to change the status of order or/and its shipping information please open the following file:
<element> optional elements
param required parameters
param optional parameters
POST /API/orders_process.php?api_id=id&api_key=key HTTP/1.1
(All the possible request parameters can be found below)
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="utf-8" ?>
– it is status array which assigned to each order.
Index array is an order ID where its value specifies its status. The status has to be assigned to the current order.
– shipping array information that should be assigned to the certain order.
Array index is an order ID, where its value is its information (string might be empty) that should be assigned
to the particular order.
– should be set in field 1, if the information needs to be sent to the customers
- AT LEAST ONE OF THESE FIELDS SHOULD BE COMPLETED
Please remember, there is always a possibility of an error in the particular interface.
When the error does not occur the answer field gives the information in XML format as following:
- external container
<orders> - external container
<orders_wrong> - incorrect order ID numbers separated by commas in the current order –
generated by key arrays such as status and shipping_info (e.g. if specified order does not exist in the product database)
<statuses_wrong> - the list of incorrect ID numbers from the current order
separated by commas with an incorrect status.
<statuses_not_changed> - the list of incorrect ID numbers from the current order that is
separated by commas with an assigned statuses matching to existent statuses.
All the orders containing no errors are processed successfully.