Add an API to unified inventory