Salesforce Interview Question

Design and code API for Inventory with given output. Project related questions