How do Import/Export extensions work with API?

How do Import/Export extensions work with API?

At the moment, Import and Export extensions don't provide API functionality to manage import/export process or modify their profiles.
      
With the built-in API functionality, it is possible to import to and export from a specific REST API endpoint. In both cases, the user must provide a valid REST API endpoint.

In import extensions, it should be possible to access the endpoint with GET method to receive the data to import in the XML format: 



In export extensions, it should be possible to access the endpoint either with POST or PUT method to pass the data to the third-party platform in the format of either XML or JSON: