https://mranv.pages.dev/posts/api-inventory-creation-guide/