> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: Inventory ## Article: Introduction ## Article Link: https://dev.wix.com/docs/velo/apis/wix-stores-v2/inventory/introduction.md ## Article Content: --- title: Introduction --- # Introduction
## Events Inventory API events are fired on your site’s backend when certain events occur with Inventory. See [`wix-stores-backend` events](https://www.wix.com/velo/reference/wix-stores-backend/events) for more information related to these events. To use the Inventory API, import `inventory` from wix-stores.v2: ```js import { inventory } from 'wix-stores.v2'; ```Warning: Elevating a function allows it to be called by any site visitor. Exercise caution to prevent security vulnerabilities.