web-service-user

Activating Web Services

Web Services give you the ability to grant permission to third-party applications to access your
store data for the purpose of integration. Magento Community Edition supports both SOAP
and REST services.
Process Overview:
Step 1: Create a Web Service Role
Step 2: Create a Web Service User
Step 3: Add Custom Scripts to Your Store

Step 1: Create a Web Service Role

1. On the Admin menu, select System > Web Services > SOAP/XML-RPC Roles.
2. Click the Add New Role button.
3. In the Role Information section, enter a Role Name such as “API.”
4. In the panel on the left, select Role Resources. Then do one of the following:

  • To enable full access, set Resource Access to “All.”
  • To provide limited access to data, set Resource Access to “Custom.” Then, select the
    checkbox of each resource that is available to this role.
  • By default, when a area is selected, full access is granted. However, you can specify the
    actions that a person is allowed to take. Specific types of access are listed under many of the
    resource links, so it is easy to determine exactly what a user is allowed to do with the
    resource.

5. When complete, click the Save Role button.

Step 2: Create a Web Service User

1. On the Admin menu, select System > Web Services > SOAP/XML-RPC-Users.
2. Click the Add New User button.
3. Complete the following fields:

  • User Name
  • First Name
  • Last Name
  • Email

4. In the API Key field, type in a verification key, or password. This is the access credentials that
third-party web services will use to access your Magento store.

5. To confirm, re-enter the key in the API Key Confirmation field.
6. In the panel on the left, select User Role. Then, select a role for the user.
7. When complete, click the Save User button.

Step 3: Add Custom Scripts to Your Store

Some third-party web services rely on snippets of JavaScript code to gather data. Some web
services require you to insert code in the HTML  section, while others require the code
to be in the HTML footer, below the closing tag.

Leave a Comment

Your email address will not be published. Required fields are marked *