Page 1 of 1

Writing C# code against the CommerceBuilder libraries

Posted: Tue May 19, 2009 8:00 pm
by bataras
CommerceBuilder seems to have a pretty rich set of business APIs.

I need to write custom code to use some of these APIs. For example, a 3rd party affiliate sells some of our products and sends us a CSV file with a list of the products sold and where to ship them. I need to write code that imports the proper columns from that file and adds the orders to the database.

Then I need to write code to grab all of the orders for an affiliate, export them to a CSV file and give that to a shipping warehouse to ship the products. Don't ask why, it's just the workflow we have to support.

It looks like using the APIs like OrderDataSource and so forth are required.

It there any documentation (however terse) on the CommerBuilder APIs? Even a flat list of the APIs would help as I can pick through the names and trial/error in debug get the results I need....

thanks

Re: Writing C# code against the CommerceBuilder libraries

Posted: Tue May 19, 2009 8:32 pm
by afm
I have found the wiki (http://wiki.ablecommerce.com/index.php/Main_Page) and the AbleCommerce UI code to be excellent resources. Think of AbleCommerce as a large open source product that also uses the CommerceBuilder API. Want to see how an Order is created? Look at the code behind the checkout pages.

Re: Writing C# code against the CommerceBuilder libraries

Posted: Wed May 20, 2009 1:20 am
by mazhar

Re: Writing C# code against the CommerceBuilder libraries

Posted: Wed May 20, 2009 1:07 pm
by bataras
thanks to both of the above replies. that helps.

btw, does anyone know of a -large- website that is using CommerceBuilder ? "large" meaning 500k+ accounts, maybe 50k of which are active users, a web farm, possibly database replication, or partitioning?

Re: Writing C# code against the CommerceBuilder libraries

Posted: Wed May 20, 2009 2:22 pm
by heinscott
I would imagine that these guys are pretty big... http://www.nextdaypets.com/directory/pet_supplies/
They are a feature AC site, and it looks like they have quite a few #1 serps for dogs, puppies, etc. I can only imagine what their organic traffic is...

Scott