This method allows to take informations about the status of an order by passing the unique identification of the order

Use

Method Url
GET /restful/ghost/clientorders/serverkey/{order_id}

Authentication

Remember to authenticate properly, using HTTP Basic Authentication with your API-Key as username and your password.

Path Parameter

Response Body

The Response Body contains the follow parameters:

Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<root>
    <order_list>
        <order>
            <ext_ref>56</ext_ref>
            <last_update>2018/05/25 12:20:37 +0200</last_update>
            <order_id>123456</order_id>
            <parsedDate>2018-05-25T12:20:37+02:00</parsedDate>
            <status>3002</status>
            <tracking_url>http://www.dhl.com/content/g0/en/express/tracking.shtml?AWB=0123456789012&brand=DHL</tracking_url>
        </order>
    </order_list>
</root>

Order Status

Code Value Description
0 PENDING User is managing the cart
1 MONEY WAITING Awaiting for payment gateway response
2 TO DISPATCH Ready to be dispatched
3 DISPATCHED Shipment has been picked up by carrier
5 BOOKED Order created by API Send order or booked by bank transfer
2000 CANCELLED Order cancelled
2002 VERIFY FAILED Payment was not accepted by payment gateway
3001 WORKING ON Logistics office is working on the order
3002 READY Order is ready for pick up
5003 DROPSHIPPER GROWING Virtual order containing reserved items