Guest cart Store (15/01)
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"
}
]
}
IF response fail
{
"msg": "Empty data cannot be stored !",
"status": "fail"
}
Last updated
Was this helpful?