Adding, Updating and Deleting Products 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: 9
Joined: Mon Mar 24, 2014 1:12 pm

Adding, Updating and Deleting Products via API

Post by jdn717 » Thu Apr 03, 2014 2:55 pm

I'm new to Able Commerce Gold so please bear with me. I am creating a WCF web service that exposes a client the ability to insert, update and delete products. I can see that using the CommerceBuilder.Products library I can create a Product in code, but where and what methods are available to me so that I can add this product to my store? Here's a glimpse at my interface below. So, when implemented in my ConfigureProductService.svc.cs file, what methods and reverences do I need to make an insert, update and delete?

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using CommerceBuilder.Users;
using CommerceBuilder.Products;

namespace AbleCommerce.WebServices
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IConfigureProductService" in both code and config file together.
public interface IConfigureProductService
public User CurrentUser { get; set; }

KeyValuePair<bool, string> InsertProduct(Product theProduct);
KeyValuePair<bool, string> UpdateProduct(Product theProduct);
KeyValuePair<bool, string> DeleteProduct(Product theProduct);

User avatar
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 611
Joined: Thu Apr 03, 2008 4:48 am

Re: Adding, Updating and Deleting Products via API

Post by Naveed » Mon Jun 23, 2014 4:30 am

AbleCommerce Gold offers built in web services API support to insert, update and delete products. Please check wiki link for details: ... ld_Web_Api

It offers a lot more operations then that, you can visit the API help page for your store using the https and browse to the url at "/api/help" for example:

Post Reply