Updating Product Options Via API

The AbleCommerce data exchange is a useful feature for importing and updating data. The Data Exchange feature (just like the 7.0.x data port) is only supported via the forums or paid support.

Post Reply
Ensign (ENS)
Ensign (ENS)
Posts: 1
Joined: Tue Aug 20, 2013 1:17 pm

Updating Product Options Via API

Post by AndreiN » Wed Aug 21, 2013 12:36 pm


This is my first post, and I couldn't quite figure out under what category to place my question, so here goes nothing. Moderators, please be merciful :P

I have written a service, using ASp.NET & C#, that allows me to update products in the AbleCommerce webstore. But I would like to be able to update product options and variants as well - all via API calls within my service, not by using the DataPort utility. The XML that I currently submit via a POST follows the following structure:


<?xml version="1.0" encoding="utf-8"?>
<Name>10' PS/2 Extension Cable</Name>
<ModelNumber />
<DisplayPage />
<Warehouse>Default Warehouse</Warehouse>
<ThumbnailAltText>10' PS/2 Extension Cable</ThumbnailAltText>
<ImageAltText>10' PS/2 Extension Cable</ImageAltText>
<Summary />
<WrapGroup>Small Packages</WrapGroup>
<Theme />
<IconUrl />
<IconAltText>10' PS/2 Extension Cable</IconAltText>
<CouponProduct />
<ExtendedDescription />
<HtmlHead />
<SearchKeywords />


Unfortunately however, I am having a very hard time finding information on what the XML structure of any other kind of updates might be.

Is there any way to specify a product's options within this XML structure? Such as for example "Products/Product/ProductOptions/ProductOption/..." ? Is there some other call that can be made that will create/update options and variants for a particular product?

Any help would be appreciated. Please let me know if any more details are required in order to answer my question.

Thank you!

User avatar
AbleCommerce Admin
AbleCommerce Admin
Posts: 2649
Joined: Tue Dec 02, 2003 1:54 am

Re: Updating Product Options Via API

Post by Katie » Wed Aug 21, 2013 8:48 pm

Hi, and welcome to the forums!

I might be able to point you in the right direction, but we need to know which version of AbleCommerce you're working with. Is it version 7.0.7 or Gold. The reason I ask is that we have built-in dataport options in the latest version of Gold, and that included a Product Options import. The Dataport utility (client app) works specifically with version 7.0.7. I just want to clarify...

Thank you for choosing AbleCommerce!

http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support

Ensign (ENS)
Ensign (ENS)
Posts: 9
Joined: Mon Mar 24, 2014 1:12 pm

Re: Updating Product Options Via API

Post by jdn717 » Thu Apr 03, 2014 3:12 pm


Would you please share what libraries you are using to update products?

Post Reply