In order to create a connection to Magento 2.0, the following steps are required:
- Retrieve your Magento Store URL, username, and password
- Call the
POST /instancesAPI to instantiate your Magento 2.0 connected app
The Magento 2.0 Adapter is a collection of resources providing a pre-built integration into a service endpoint. RESTful methods (POST, GET, PUT, PATCH, DELETE) are used to interact with these resources (accounts, contacts, files) regardless of the type of APIs (SOAP or REST) provided by the endpoint. Adapters leverage Sugar Integrate API Manager platform services including authentication, data transformation, and event management. The API is built to allow you to create a functional application or integration quickly and easily.
All API calls to Sugar Integrate should be made to the
https://api-us.integrate.sugarapps.com/elements/api-v2 base domain. Requests are authorized with an Organization and User secret, as well as, an adapter token. We use many standard HTTP features, like HTTP verbs, which can be understood by many HTTP clients. JSON will be returned in all responses from the API, including errors. The APIs are designed to have predictable, straightforward URLs and to use HTTP response codes to indicate API errors.