Forums OroPlatform OroPlatform – How do I? Questions How do i call Magento APi

This topic contains 2 replies, has 2 voices, and was last updated by  Jaimy 1 year, 8 months ago.

  • Creator
  • #30575


    $proxy = new \SoapClient(‘’);
    $sessionId = $proxy->login(‘para’, ‘12345678’);
    $baseProducts = $proxy->call($sessionId, ‘product.list’, array(‘status’ => true));

    This is pure php call for magento Custom Api Actually what i need is Import magento contact us data to orocrm without using magento bridge extension how can i do this ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #30576


    Any help I appreciate Thanks



    Hi @senanayaka!

    I think the correct way is by creating a custom connector for the Magento integration and endpoint in Magento API (if there not one supported by default). This should provide some functionality out of the box, such as scheduling the sync (if you have a cronjob running for oro cron), setting up connection and importing data from a SOAP wsdl. By creating this connector, it will allow you to focus on your part of the import instead of writing a complete import functionality. You can find examples of different connectors in the OroCRMMagentonBundle in the ImportExport folder under Connectors. Although I do not know if Magento 2 is supported already, maybe some of the Oro Core can shed some light on this :).

    Hope this helps just a little.

    Kind Regards,

    Jaimy Casteleijn

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.