Writing C# code against the CommerceBuilder libraries

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
bataras
Ensign (ENS)
Ensign (ENS)
Posts: 16
Joined: Thu Apr 23, 2009 2:29 pm

Writing C# code against the CommerceBuilder libraries

Post by bataras » Tue May 19, 2009 8:00 pm

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

afm
Captain (CAPT)
Captain (CAPT)
Posts: 339
Joined: Thu Nov 03, 2005 11:52 pm
Location: Portland, OR
Contact:

Re: Writing C# code against the CommerceBuilder libraries

Post by afm » Tue May 19, 2009 8:32 pm

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.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing


bataras
Ensign (ENS)
Ensign (ENS)
Posts: 16
Joined: Thu Apr 23, 2009 2:29 pm

Re: Writing C# code against the CommerceBuilder libraries

Post by bataras » Wed May 20, 2009 1:07 pm

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?

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: Writing C# code against the CommerceBuilder libraries

Post by heinscott » Wed May 20, 2009 2:22 pm

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

Post Reply