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.
Login to Magento Admin section
Once login to admin dashboard then go to Systems tab and choose or click on Web Service link get options like SOAP/XML-RPC – Roles , click on that link
Then below screen will appear. Then click on “Add New Role” button to add a role access store information.
Give the role name and click on “Save Role” button to save that role in store.
Once save the role click on “Role Resources” link on the left side of the page.
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.
Create API user by following steps. Please go with “System” to “Web Service” then click on “SOAP/XML-RPC-Users”
Click on “Add New User” button and give the required details and click on “Save User” button to save the user details.
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.
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.