order
GET /order_history
To get a specific order from history.
/order_history?token=XXXXX&shopping_cart_code=CART185
Returns
{
"api_response": {
"response_code": "1",
"response_msg": "OK",
"response_id": ""
},
"order": {
"order_header": {
"shopping_cart_code": "CART185",
"order_date_local": "2014-12-17 10:00:00",
"order_date_utc0": "2014-12-17 08:00:00",
"order_date_deliverby_utc0": "2014-12-24 08:00:00",
"customer_code_365": "00100001",
"customer_email": "jdoe@test.com",
"customer_name": "John Doe",
"total_sub": 0,
"total_discount": 0,
"total_vat": 0,
"total_grand": 0,
"comments": "special instructions",
"delivery_address_line_1": "39 Larnakos Ave",
"delivery_address_line_2": "",
"delivery_address_line_3": "Pallouriotissa",
"delivery_postal_code": "1641",
"delivery_town": "Nicosia",
"delivery_country_code_iso2": "CY",
"delivery_country_name": "CYPRUS",
"payment_term_code_365": "",
"delivery_term_code_365": "",
"order_status_code_365": "CANCELLED",
"order_status_name": "CANCELLED"
},
"list_order_details": [
{
"line_number": 1,
"item_code_365": "ARTICLE01-AZURE-240",
"item_name": "ARTICLE 01",
"line_quantity_ordered": 3,
"line_quantity_returned": 3,
"line_quantity_sold": 0,
"line_quantity_extra_sold": 0,
"line_total_sub": 0,
"line_total_discount": 0,
"line_total_discount_percentage": 10,
"line_total_vat": 0,
"line_total_vat_percentage": 19,
"line_total_grand": 0
},
{
"line_number": 2,
"item_code_365": "ARTICLE01-BLK-290",
"item_name": "ARTICLE 01",
"line_quantity_ordered": 1,
"line_quantity_returned": 1,
"line_quantity_sold": 0,
"line_quantity_extra_sold": 0,
"line_total_sub": 0,
"line_total_discount": 0,
"line_total_discount_percentage": 0,
"line_total_vat": 0,
"line_total_vat_percentage": 19,
"line_total_grand": 0
}
],
"list_order_payments": [
{
"payment_code_365": "00100053",
"payment_type_code_365": "JCC",
"payment_amount": 47,
"payment_date_local": "2014-12-17 10:00:00",
"payment_description": "",
"payment_comments": "",
"payment_cheque_date": ""
}
]
}
}