[quote=horacioj;304]Hi,
I have a very basic question (I'm new to HCC) .
While I wait for the 3.0.1 release (ref.
https://mmmcommerce.com/F...s-V-3-0-1-Timeframe) to try an integration with an already created set of modules in an already running D N N site, I wanted to explore the Server-Side API (ref.
https://hotcakescommerce....r-Server-Side-API-). Basically I just need to query, create and update products via the API. I couldn't find any basic guide, though.
Should I reference Hotcakes.Commerce.dll (and perhaps something else)?
How can I query, create and updated products? Using Hotcakes.Commerce.Catalog.ProductRepository()? or ..?
Thanks
[/quote]
There isn't a guide or documentation on the server-side API today. The reason for this traditionally has been that the server-side API was already self-discoverable and documented with XML comments to assist developers. The existence of documentation for this could change in the future, but it's never been on the road map either and we'll need a community member to help with the effort.
In general, integrating with the Hotcakes server-side API isn't any different from integrating with any other .NET application. You simply add a reference to the DLL's you need and then begin writing code. In the least, you'll want to add a reference to the Hotcakes.Commerce.dll file.
You have plenty of examples of integration with the supplemental downloads. They should help - especially the order workflow and payment projects.
https://mmmcommerce.com/Resources/Downloads You can see an example of how to use the projects in their respective videos.
https://hotcakescommerce....229-Extension-Points You can get use case driven code examples from the same area too.
https://hotcakescommerce....1049209-Code-Samples
Will Strohl, Upendo Ventures
Hotcakes Cloud |
Get Support |
Code Support Official Cloud & Support provider for Hotcakes