• Welcome to KonaKart Community Forum. Please login or sign up.
 

Update Product Price Using Konakart Admin WebServices

Started by sureshbabubv, April 15, 2010, 12:45:14 pm

Previous topic - Next topic

sureshbabubv

Dear All,

Please suggest how to Update ProductPrice with productId Using Konakart Admin WebServices.

Thanks & Regards,
B.V.Suresh Babu

sureshbabubv

Dear All,


  I tried the following code

               AdminProduct objAdminProduct=port.getProduct(sessionId,5);
           port.editProduct(sessionId, objAdminProduct);
           objAdminProduct.setPriceExTax(new BigDecimal("456.00"));
            port.insertProduct(sessionId, objAdminProduct);

but this is inserting a new product instead of updating the product.

Please suggest me how to update the product price.


Thanks & Regards,
B.V.Suresh Babu


sureshbabubv

Dear All,


I got it.

                 AdminProduct objAdminProduct=port.getProduct(sessionId,5);
           
           objAdminProduct.setPriceExTax(new BigDecimal("555.00"));
            
            port.editProduct(sessionId, objAdminProduct);



all insertXXXX() methods are inserting the new data

and all editXXX() methods are updating the old data with new one


Thanks & Regards,
B.V.Suresh Babu