LS Commerce eCommerce API
This section is an overview of how to start implementing LS Commerce Service against an eCommerce solution. Most samples are shown with SOAP requests, but replication samples uses ASP.NET code to demonstrate how to set up the loop to pull all the data and the use of LastKey value.
- Install LS Commerce Server, and configure it to connect to LS Central. See the LS Commerce Installation section for more details on how to install the LS Commerce Service.
- After installing the LS Commerce Service, you need to prepare some for LS Commerce Service in LS Central, see the LS Central Configuration section for more information.
- To test the connection to LS Commerce Service and to check if everything is working and whether LS Commerce Service can talk to LS Central, open a browser and type in this URL (pointing to the host where LS Commerce Service is running): http://localhost/LSCommerceService/ucJson.svc/ping
- If all is in order, you get a reply like this one:
"PONG OK> Successfully connected to [LS Commerce Service DB] & [LS Central DB] & [LS Central WS] LS:17.3.0.0 [20605] LS Commerce Service:4.16.0"
- To secure the eCommerce communication, use the Basic Authentication settings in the IIS Server, and send the Login Authentication with every request.
LS Commerce Service has an interface to use with external eCommerce platforms. To get access to the WSDL data, connect to http://localhost/LSCommerceService/UCService.svc
Online API help for SOAP and JSON interface can be found here on Mobiledemo Help.
There you can see some samples for SOAP & JSON requests, SoapUI project, WS Request data, and how an LS Commerce object maps to the LS Central Web Service XML request.