Dear All,
Please suggest how to Update ProductPrice with productId Using Konakart Admin WebServices.
Thanks & Regards,
B.V.Suresh Babu
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
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