How to List Orders by Order Status using Magento API

Magento Core API allows us to retrieve the Orders Placed in a Magento Store. In this example we will be filtering the orders based on its status. Magento Webservices allows us to use Both Soap and XMLRPC for accessing the Core API, for this example i have used both in the below code snippet.

XMLRPC Example:

Compatability :- Magento 1.4,1.5