Sellercloud uses the API (Application Programming Interface) of Magento, which automatically synchronizes information on products and orders. This article describes how to configure web service access on Magento.
Create Magento User
Web services are a set of Web APIs that can be accessed over the Internet and then executed on a remote system. To do that, you must grant the required permissions to enable access and update information on the Magento database. The first step is to create a new role and then assign this role to a new web service Soap/XML-RPC user.
Magento 1 Configuration
- Log into the Magento1 admin portal.
- Go to System > Web Services > Soap/XML-RPC-Users.
- Click Add New User.
- Complete the required fields and create a password to enter in the API key Save the password, as you will need to use it in Sellercloud.
- Go to System > Web Services > Soap/XML-RPC-Roles.
- Click Add New Role.
- Give a name to the new role and enter the admin password.
- From the left-navigation menu, select Role Resources.
- Select All from the Resource Access dropdown.
- Assign a newly created Role to the new user you have created in steps 1-5.
Magento 2 Configuration
- Log into the Magento2 admin portal.
- Go to System > User Roles, and create an admin role with full access.
- Create a new user from System > All users.
- Assign an admin role you have created to a new user.
- Go to System > Integrations
- Adjust the integration settings for this user. The username and password (on the bottom) will be used as webservices user and password.
- On the same page, click the API, and select All from the dropdown.
- Save the changes.
Configure Sellercloud with Webservice Access
When Magento settings are ready, open your Sellercloud instance, and check whether the Magento webservice credentials work properly. For that, follow the steps below.
- Go to Settings > Companies > company > Toolbox > Magento > General Settings.
- In the upper right, click Edit.
- Select the Magento Enabled checkbox.
- Enter the Magento Store URL. This is used to navigate to your Magento store and add the following suffix (for a single store – api/v2_soap/index/. For example, http://www.cellphonemate.net/api/v2_soap/index/.
If your domain starts without the www prefix, the API URL will need to reflect that, like http://cellphonemate.net/api/v2_soap/index/. Also, try to navigate to the URL in the browser to test that it isn’t redirected to another address. For example, if it redirects you to an https address, then something needs to change on the Magento side before it will work.
- Enter the Webservice username and API key/password.
- Enter the Store ID. Magento can manage multiple stores from a single Magento installation, and each is assigned an ID. The Default Website value refers to the main website that is being managed by your Magento installation. If you want to connect to only some stores, enter the appropriate Store ID(s).
- Check the Enable Custom Plugin for Communication checkbox.
- Enter the Magento store URL (if your domain starts without the www prefix, the URL will need to reflect that, like http://cellphonemate.net/)
- Check the Enable Plugin for Order Management and Enable Plugin for Inventory Management checkboxes.
- Configure the remaining options according to your needs.
Verify Webservice Connection
- In the upper-right corner, click Actions, and select the Test Settings option.
- Then, select Download Attribute Set, from the Actions menu. This will import the Magento attribute set configurations into Sellercloud. You do not need to select anything here. You will be able to select the attribute set at the product level.