Currently I'm trying to implement e-Commerce via REST Web Services that can be accessed from mobile devices, for which I just went through the Oracle - ATG docs on 'Web Service And Integration Framework' and have done following things
Added REST module to the project
And I'm trying to add an item to cart via REST by directly accessing the CartFormHandler as follows
To add an item to cart basically addItemToOrder method requires productId, catalogRefIds (skuIds), quantity and I'm using ATG REST Java client library to post those parameters from plain Java program as follows
From server side I can able to get the productId and quantity properly but only the catalogRefIds is getting as empty and the hence ATG throws me the exception as 'Please select a SKU ID to add to the cart', so Can someone point me what I'm actually doing wrong?