Melting enables you to integrate your web store with other Web-based applications using web services. Web services are services that share information across networks using standards-based technologies.

In other words, customer, catalog, and sales information can be shared with other Web-based services to help create a more integrated set of tools for your business.

Web services pull information from your web store with the Melting Core API — or the application programming interface. The Melting Core API consists of all the parameters, or particular data requests, that other web services can access from your web store.

Check out a complete reference of the Melting API.

Working with Web Services

When you are integrating third-party web services with your Melting store, they must have permission to access your web store data. You can do this by creating a web service user and role.

Step one: Create a Web Service role

  1. From the Admin Panel, select Web Services > Roles.
  2. Click Add New Role.
  3. In the Role Name field, type in a role name (i.e. API).
  4. From the Role Resources tab on the left side panel, specify the data that this role has access to.
    • To enable full access to customer, catalog, and sales information, change the Resource Access option to All.
    • To enable access to limited data, check the checkbox next to the resources this role will have access to.
    • Limit the type of access to resource by specifying Update, Retrieve, Delete under each resource type.NOTE: This is optional — selecting a resource will allow full access. Click Save Role.

Step two: Create a Web service user

  1. From the Admin Panel, select Web Services > Users.
  2. Click Add New User.
  3. In the User Name, First Name, Last Name, and Email fields, type in the respective information.
  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 Melting store.
  5. In the API Key Confirmation, re-type this API Key.
  6. From the User Role tab in the left side panel, assign a role for this user by selecting it from the table.
  7. Click Save User.

Once you have a user with a configured role setup, you are ready to integrate third-party web services with the Melting platform.

Adding Custom Scripts to Your Store Front

Some third-party web services rely on JavaScript code snippets to gather data. Some web services require you to insert a code snippet in the “head” or “<head>” of the HTML, while others require inserting it in the footer just below the closing ;</body> tag.

To insert code in the HTML Head:

  1. From the Admin Panel, select System > Configurations.
  2. From the Design tab, find the Miscellaneous Scripts text area under HTML Head.
  3. In the Miscellaneous Scripts text area, paste the code provided by the web service.
  4. Click Save Config.

To insert code in the HTML Footer:

  1. From the Admin Panel, select System > Configurations.
  2. From the Design tab, find the Miscellaneous Scripts text area under the Footer section.
  3. In the Miscellaneous Scripts text area, paste the code provided by the web service.
  4. Click Save Config.

To ensure that it works, fire up your browser and go to your web store. Loading a page from your web store will run the scripts at least once, activating the scripts.

If you experience problems, make sure the code you inserted is corrected and that you have cleared your browser cache before re-accessing your web store.

Menu