Order Details

Welcome,
Below is an example of how to use the Midwest Order Details API. The Midwest Order Details API allows you to post orders in JSON format to the https://connect.midwest-logistics.com/api/ API and the API will respond with the individual order details. The order details does not contain the products on the order.

The following JSON format needs to be posted to the API.

        
    {
        "apiKey" : "Provided API KEY",
        "request" : "orderdetails",
        "orders" : [
            {"CRMID" : "ORD-123132132" },
            {"CRMID" : "ORD-123132133" }
        ]
    }
            
        

The Midwest Order API will respond with a list of orders and the individual orders information.

The API will respond with a status of either 200 or 500 for each individual order. 200 is good, 500 is bad. If an order cannot be found then a status of 500 will be returned and the error field will contain the reason that the order could not be retrieved.

An example of a response:

        
{
    "orders": [
        {
            "status": "200",
            "error": "",
            "details": {
                "order_id": "#1303-53233489332",
                "status": "Fulfilled-Complete",
                "id": "G00008262",
                "company": "",
                "phone": "",
                "order_total": "",
                "order_type": ""
            },
            "shipping": {
                "name": "John Doe",
                "address_one": "1234 Fake Ln.",
                "address_two": "",
                "city": "Oakland",
                "state_region": "CALIFORNIA",
                "country": "US",
                "zip_code": "94605"
            },
            "tracking": [
                {
                    "pro_number": "94001092314581305652",
                    "carrier": "USPS First Class"
                }
            ]
        }
    ]
}
                
            

Testing

Enter the Json you wish to send