As a user
I need to have only one Shopcart
So that I can manage all items in one Shopcart instead of spreading out across multiple shopcarts
Details and Assumptions
It will integrate into creating Shopcarts
Assume the basic functionality of creating Shopcarts is already implemented
When we call POST to create a shopcart for a certain userID, we have to check first that there isn't one already
If there is one already, expect status code 409 and an error message: "A shopping cart with this userID already exists."
If there isn't one, create as normal and expect the normal return from POST
Acceptance Criteria
Given a user already has a Shopcart
When some services try to create Shopcarts for him/her
Then no additional Shopcarts will be created and we get status code 409 and an error message: "A shopping cart with this userID already exists."
As a user I need to have only one Shopcart So that I can manage all items in one Shopcart instead of spreading out across multiple shopcarts
Details and Assumptions
When we call POST to create a shopcart for a certain userID, we have to check first that there isn't one already
Acceptance Criteria