The inventory resource keeps track of how many of each product we have in our warehouse. At a minimum it should reference a product and the quantity on hand. Check with the Product team for the format of the product id. Inventory could also track restock levels and the condition of the item (i.e., new, open box, used). Restock levels will help you know when to order more products. Being able to query products by their condition (e.g., new, used) could be very useful.
As an inventory manager
I need to return information about the identified product ID
So that the API user is able view inventory details of that product
Assumptions:
Information for the specified product exists in our database
API user is authorized to view information for inventory in our data
Find by SKU for example https://www.youtube.com/watch?v=fhIkAu8cTzI&t=600
Acceptance Criteria:
Given the queried product exists
When the API users issues the query
Then the information about the product is returned
As an inventory manager I need to return information about the identified product ID So that the API user is able view inventory details of that product
Assumptions:
Acceptance Criteria: