As a manager
I need the functionality to delete a single product by ID
So that when a product gets sold out or I don’t want to sell it anymore, I can remove it from shelves.
Details and Assumptions
Every product has unique ID.
There is a database to store information of products .
Acceptance Criteria
Given a product exists in the inventory,
When the product is deleted by ID,
Then the product is removed from the inventory.
Given a product doesn't exist in the inventory,
When the product is deleted by ID,
Then return error message.
As a manager I need the functionality to delete a single product by ID So that when a product gets sold out or I don’t want to sell it anymore, I can remove it from shelves.
Details and Assumptions
Acceptance Criteria