Overview
Integrate with Magento to import your orders, create shipment labels and show live DHL Express rates at your checkout.
The integration can also write back tracking information to these after printing your shipment labels.
About integrating Magento 1
You can integrate more than one store if the stores are under the same Magento account in the Admin panel. If they are in separate Magento accounts, you will need to set it up as a child account.
1. Create a user and role
Create a new role
- Go to your Magento Admin Dashboard.
- From the System menu, select Web Services, then select SOAP/XML-RPC - Roles.
- From the Roles screen, click Add New Role.
- Enter a role name, and then click Role Resources.
- Set the Resource Access to ALL.
- In the top right hand of the screen, click Save Role.
Assign your new role to a user
- Go to your Magento Admin Dashboard.
- From the System menu, select Web Services, then select SOAP/XML-RPC - User.
- From the Users page, click Add new User.
- Enter the account information as required.
Note that the API Key will work as the password you enter in your account. You can set this accordingly. - Set the account to Active.
- On the User Information panel, click User Role.
- Assign the user you previously created the role for.
2. Enter your Magento 1 details
After you have created the user and the role in Magento, you need to add the URL, username and the password in your account.
- Log into DHL Express Commerce
- In your account, select Settings, then select Integrations.
- Click Add a new integration, and select Magento.
- Enter the URL of your site eg http://www.mysite.com/api/xmlrpc or http://www.mysite.com/index.php/api/xmlrpc.
- Enter your Magento username and password. The password is the API Key that you created in Magento.
- Test your connection, and then click Save.