Information for: DEVELOPERS   PARTNERS

Configuring Acquia Commerce

This quickstart method replaces the previous method of API calls that enabled Acquia Commerce Manager and Magento to communicate. This method requires the use of the Acquia Commerce Manager API endpoint. Your API endpoint can be found at the following URL:

[Commerce Connector Url]v2/config/site

Using this endpoint, combined with a HMAC signature generated by your organization HMAC key and secret, you can complete the configuration of the Commerce Connector Service by issuing a POST request through the API.


Acquia will provide your organization keys and secrets when you purchase Acquia Commerce Manager.

For an example POST request, download this file. This example script returns a response with the id of the website created, as well as the hmac_key and the hmac_secret used to identify the website.

The hmac_key and the hmac_secret must be entered into Drupal and your e-commerce application.


Quick setup can only create one mapping at a time.

You may need to create additional mappings for a website. For example, you may want to map different store languages. Use that website’s hmac_key and secret to sign the requests and make individual calls to the API, passing in:


where site_id_value is the numerical value for site_id, such as {"site_id":"17"}, to perform the following tasks:

  • Create the system for Drupal, and return the system ID
  • Create the system for e-commerce (Magento), and return the system ID
  • Create the mapping of Drupal’s system ID to Magento’s system ID

In this example, the systems and mappings are associated with the site_id 17. If you need the auth_id of the two authorizations that were created, as those IDs are needed to create system calls, contact Acquia Support.

There is a limit to the number of websites that can be created by each organization. This limit is set by Acquia when the Acquia Commerce Manager service is ordered.