Shipping Carriers
Welcome,
Below is an example of how to use the Midwest Shipping Carriers API. The Midwest Shipping Carriers API allows you to retrieve a list of avalalable carriers from https://connect.midwest-logistics.com/api/ the Midwest Logistics supports.
The following JSON format needs to be posted to the API.
{
"apiKey" : "Provided API KEY",
"request" : "get_shipping_options"
}
The API will respond with a status of either 200 or 500 for the API call. 200 is good, 500 is bad. If an carriers cannot be found then a status of 500 will be returned and the message field will contain the reason that the carriers could not be retrieved.
An example of a response that succeeded:
{
"result":"200",
"message":"",
"shipping_options":[
{"id":"100000008","value":"FedEx 2Day"},
{"id":"100000022","value":"Fedex 2day AM"},
{"id":"100000024","value":"Fedex Express Saver"},
{"id":"100000023","value":"Fedex First Overnight"},
{"id":"FXFE","value":"Fedex Freight Company"},
]
}
An example of a response that failed:
{
"result":"500",
"message":"No Carriers Found",
"shipping_options":[]
}
Testing
Enter the Json you wish to send