update cart through api.
- 
					
					
					
					
 Hi can someone explain me how to update cart quantity through the api? I would like to know about the put request and the parameter we need to provide. 
 It would be nice if you can give me an example using axios.
- 
					
					
					
					
 Hi, Call update route of cart to update cart quantity thorough API. You need to pass data like given below. {"qty":{"productId":"Quantity"}}It is a JSON format. You can see attach screenshot for more reference. Tha  nks nks
- 
					
					
					
					
 Thank you. 
- 
					
					
					
					
 Hello, 
 Can you also help me with api for add to cart.
 http://localhost/bagisto-master/public/api/checkout/cart/add/203
- 
					
					
					
					
  
- 
					
					
					
					
 i also tried passing data {"product_id" : "203"}, is there something more to the payload? 
- 
					
					
					
					
 it took me while to figure it out what the payload needed to be 
 i passed data as {"product" : "203", "quantity": "1", "is_configurable" : "false"} and it worked.
 It would have been nice if this was mentioned in the devdocs.
- 
					
					
					
					
 Thanks for sharing this