Custom Methods
The Magento 2 Connector allows you to create custom methods for custom endpoints. You can create these methods with the custom objects in the Custom Method category.
Set up a custom object
When you set up a custom object, Cyclr creates a new method category with the endpoint you enter. To set up a custom object:
- Go to the Magento 2 connector’s Settings page.
- Under the Methods and Fields heading, expand the Custom Methods category.
- Select the red Copy this Category to create a Custom Object Category icon.
- Enter the required custom method endpoint into Specify object name.
- Select Copy.
This creates a new custom object category with the specified method endpoint. You can run the GET or POST methods from the new category to call the specified endpoint. You need to map all of the request and response fields manually.