Adding a product to cart through Saleor Api
SalmanTayyab454 opened this issue · comments
Hello,
By using Saleor api I am adding a static product into the cart.Like this this.$saleor.cart.addItem('UHJvZHVjdFZhcmlhbnQ6MjA5', 1);
I am getting a response that you have to add the product in the cart to create the checkout process. What is the correct way of adding a product in cart through api?Thank you.