PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 9/7/2017 3:05 PM by  Will Strohl
Server-Side API?
 2 Replies
 1 Subscribed to this topic
 1 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Author Messages





New Member






--
9/7/2017 2:28 PM
    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






    Veteran Member






    --
    9/7/2017 3:03 PM
    [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





    Veteran Member






    --
    9/7/2017 3:05 PM
    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
    You are not authorized to post a reply.


    Loading
    • Sign-up for the Hotcakes Community Newsletter: