Hi,
I have a very basic question (I'm new to HCC) .
https://hotcakescommerce...REST-or-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
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...1049229-Extension-Points You can get use case driven code examples from the same area too.
https://hotcakescommerce...s/201049209-Code-Samples