Create Magento SOAP v2 API with simple steps

in Magento, Shopping Cart / 1 Comment

This post explains how to create Magento SOAP v2 API users with simple steps. In earlier we discussed on OSCommerce installation and configuration to your server , Now we can learn about create API users for Magento. We need to follow few steps to get those API details from Magento.

Create Magento SOAP v2 API with simple steps by Anil Kumar Panigrahi

Create Magento SOAP v2 API with simple steps by Anil Kumar Panigrahi

Step 1:

Login to Magento Admin section

Create Magento SOAP v2 API with simple steps by Anil Kumar Panigrahi - Log into Magento Admin Page

Create Magento SOAP v2 API with simple steps by Anil Kumar Panigrahi – Log into Magento Admin Page

Step 2:

Once login to admin dashboard then go to Systems tab and choose or click on Web Service link get options like SOAP/XML-RPCRoles , click on that link

Create Magento SOAP v2 API with simple steps by Anil Kumar Panigrahi - first step

Create Magento SOAP v2 API with simple steps by Anil Kumar Panigrahi – first step

Step 3:

Then below screen will appear. Then click on “Add New Role” button to add a role access store information.

Create Magento SOAP v2 API with simple steps by Anil Kumar Panigrahi - Roles   Web Services   System   Magento Admin

Create Magento SOAP v2 API with simple steps by Anil Kumar Panigrahi – Roles Web Services System Magento Admin

Step 4:

Give the role name and click on “Save Role” button to save that role in store.

Step 5:

Once save the role click on “Role Resources” link on the left side of the page.

Step 6:

Here we will get list of option with “custom” as predefined. But choose “All” from this drop down which is recommended for future purpose. Once choose that option then click on “Save Role” button.

With this step we finished the creating Role to this store.

Step 7:

Create API user by following steps. Please go with “System” to “Web Service” then click on “SOAP/XML-RPC-Users

Step 8:

Click on “Add New User” button and give the required details and click on “Save User” button to save the user details.

Step 9:

Once save the user details then assign role to that user by click on “User Role” which is in the left side in the page , then list of roles will display which we are created earlier step 4 and step 5. Choose one of role to assign user by click on that radio button and click on “Save User” button.

Create Magento SOAP v2 API with simple steps by Anil Kumar Panigrahi - New User   Users   Web Services   System   Magento Admin

Create Magento SOAP v2 API with simple steps by Anil Kumar Panigrahi – New User Users Web Services System Magento Admin

In Step 8 , we inserted the values as below for example ( Please note it ). here API username is Account Information’s username

API Details are:
API username: XXXXX
API Key : XXXXX

By these steps we are finished the creating API username and API key to access store through API.

With more than 9 years experience in PHP and Founder of Anil Labs, a blog for PHP and related posts. contributed posts regarding CodeIgniter, CakePHP and Learn PHP online ... Contact : php.anil@gmail.com

Discussion 1 Comment

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>