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 Connector 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. Connectors leverage SAP Cloud Platform Open Connectors 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 SAP Cloud Platform Open Connectors should be made to the
https://api.openconnectors.us2.ext.hana.ondemand.com/elements/api-v2 base domain. Requests are authorized with an Organization and User secret, as well as, a connector 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.