Note: This is a legacy document for Magento 1.x. For Magento 2, please refer to:
In order to enable API access, you must gather the following credentials from Magento:
In addition, for multi-site or multi-store Magento installations:
Additional notes and information:
Web Service Username & API Key
- In the Magento administration panel, click System > Web Services (SOAP) > Roles.
- Click Add New Role.
- Define the Role Name as Administrator.
- Click Save Role.
- On the Edit Role 'Administrator' page, under Role Information, click Role Resources.
- For Resource Access, select All.
- Click Save Role.
- Click System > Web Services (SOAP) > Users.
- Click Add New User.
- Enter the Account Information details. Retain the Username and API Key that you enter in this step.
- Click Save User.
- On the New User page, under User Information, click User Role.
- Click the radio button next to the Administrator Role Name.
- Click Save User.
Store URL
The Store URL is the root URL of your Magento store.
Store View Code (optional)
The Store View Code is an optional feature for multi-site or multi-store Magento installations. If a Store View Code is specified in PackageBee, only orders from the given store will be imported.
To find the Store View Code in Magento, go to System > Manage Stores.
Enable WSDL Cache (recommended)
To optimize the performance of the standard Magento API, enable the WSDL Cache setting:
- In the Magento administration panel, click System > Configuration > Magento Core API.
- Set Enable WSDL Cache to Yes.
Resolve error: Procedure 'login' not present
If you encounter the error Procedure 'login' not present, make the following change in Magento:
- In the Magento Admin Panel, go to System > Magento Core API > WS-I Compliance.
- Set it to OFF.
Next: Enable API Access
Comments
Please sign in to leave a comment.