We are implementing a REST based web service and we have some queries on some of the use cases.
Consider there is a unique account which contains some information (Ex. added to cart information)
- What response code should we return if no cart information exists (Ex. 0). Our understanding was to return 200 with empty response.
- User added cart information to his account, but cart is removed by admin.
What HTTP statuscode shall be used?