mport Guest Cart items in bulk to logged in user's cart.
You need to send json array of items in following format :
{ "cart": [ { "variantid": "108", // if you're storing variant product into cart "quantity": "1" }, { "simple_pro_id" : "1", //if you're storing simple product into cart "quantity : "1" } ] }
{ "msg": "Empty data cannot be stored !", "status": "fail" }
Last updated 2 years ago