As a user
I need to have the quantity of each product in Shopcarts
So that I can track and change the quantity that I want to buy
Details and Assumptions
It will integrate into updating Shopcarts
Assume the basic functionality of updating Shopcarts is already implemented
We will call PUT on the relevant shopcart, with an argument specifying the item and an operation argument (ADD/DELETE)
Expect returns status code 200, and the relevant item and its quantity
Acceptance Criteria
Given our local service is running and there is a shopcart with an item in quantity n >= 1 in it
When we call PUT on that shopcart and on that item, using either ADD/DELETE
Then we get returns: status code 200, that item, and its correct new quantity either n+1 or n-1
As a user I need to have the quantity of each product in Shopcarts So that I can track and change the quantity that I want to buy
Details and Assumptions
Expect returns status code 200, and the relevant item and its quantity
Acceptance Criteria