search
top

cURL request in Magento

cURL request in Magento Most of the time there is a need to call 3rd party APIs from Magento. We use cURL functions for the same, now here is an interesting part, Magento has wrapper functions for the same in its own library. This make it easy for calling the 3rd party API url’s. Code snippet is as shown below. $param = array(); //initialise the request variable $param['userid'] =...
read more

Category and Product SOAP API in Magento

In one of my post I explained the basics of SOAP API, please refer Magento SOAP API before proceeding further I am listing here the methods to create Categories and Products using SOAP API 1) Category a) Category Creation <?php $category_name = 'Test Category'; //create new category //start $category = array( 2, array('name'=>$category_name, 'display_mode' => PRODUCTS_AND_PAGE, 'is_anchor'...
read more

Magento SOAP API

Hello All, While working in Magento, some times need arises to use Magento API. Magento Core API supports both SOAP and XML RPC protocols. The API is permission based and allows access to the Customer, Catalog and Order modules of Magento. You can get the information here Magento Core API I am listing here the basic way to use SOAP API. SOAP SOAP (Simple Object Access Protocol) adapter is default...
read more

top