horacioj
  •  horacioj
  • 51.75% (Neutral)
  • Newbie Topic Starter
2017-09-07T18:28:11Z
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

Will Strohl
2017-09-07T19:03:34Z
Originally Posted by: horacioj 

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 
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Will Strohl
2017-09-07T19:05:01Z
Oh... I almost forgot another great example for you. If you go to the Hotcakes profile on GitHub, you'll find a handful of sample DNN module project repos that should help you out a lot.

https://github.com/HotcakesCommerce 
Will Strohl, Upendo Ventures
Hotcakes Cloud  | Get Support  | Code Support 
Official Cloud & Support provider for Hotcakes
Loading
  • Sign-up for the Hotcakes Community Newsletter: