> 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 # Type: Inventory Object # Link: https://dev.wix.com/docs/api-reference/business-solutions/stores/catalog-v1/inventory/inventory-object.md ## Description: Read & Write inventory from Wix Stores Inventory ## Schema: ```json Type: Inventory Object | type: InventoryItemV2 Description: Read & Write inventory from Wix Stores Inventory - name: id | type: string | description: Inventory item ID. - name: value | type: string | description: - name: externalId | type: string | description: Deprecated: use productId. - name: productId | type: string | description: Product ID. - name: trackQuantity | type: boolean | description: Whether quantity is being tracked. - name: value | type: boolean | description: - name: variants | type: Array | description: Variants associated with this inventory item. - name: variantId | type: string | description: Variant ID. - name: inStock | type: boolean | description: Whether the product is listed as in stock. - name: quantity | type: number | description: Quantity currently left in inventory. - name: value | type: number | description: - name: availableForPreorder | type: boolean | description: Whether the variant is available for preorder. When `true`, the variant is out of stock and preorder is enabled on inventory level. - name: lastUpdated | type: string | description: Last updated timestamp. - name: seconds | type: string | description: - name: nanos | type: number | description: - name: numericId | type: number | description: Inventory’s unique numeric ID (assigned in ascending order). Primarily for sorting and filtering when crawling all inventories. - name: preorderInfo | type: PreorderInfo | description: Preorder information. - name: enabled | type: boolean | description: Whether the item is available for preorder. - name: message | type: string | description: A message the buyer will see when the item is out of stock and preorder is enabled. - name: limit | type: number | description: Number of products that can be preordered after stock reaches zero. ```