1 Reply Latest reply: Sep 8, 2014 3:20 PM by Liam Dilley RSS

    Use APIs from a non-BC site

    nicolas@tei Community Member

      Hi all. BC newbie here.

       

      Is it possible to use the e-commerce APIs from a site that's not built on Business Catalyst? Support informed me that the APIs can't be accessed except through a Webapp, but it seems Webapps only run on a BC site. What's the solution, then? How do I make a non-BC site communicate with a BC site?

       

      Or, do I have to make it go the other way? Write an app to have the BC site his the other site through Ajax?

        • 1. Re: Use APIs from a non-BC site
          Liam Dilley CommunityMVP

          Hi there,

          That is a bit of a mix up.

          You can not use Webapp API's on a a 3rd party system at this time and only through BC apps. other API's like the eCommerce can be used on 3rd party systems.

          Ajax will not work because browsers use the same domain policy for protection, you need to do server side code or properly create jsonp etc content to access data if you want to read from another system in BC or other web services. All depends on what you are trying to achieve.