Inventory Object


Read & Write inventory from Wix Stores Inventory

Properties
externalIdstringRead-onlydeprecated - use productId instead

Deprecated: use productId.


idstring

Inventory item ID.


lastUpdatedstringRead-onlyformat date-time

Last updated timestamp.


numericIdnumberRead-only

Inventory’s unique numeric ID (assigned in ascending order). Primarily for sorting and filtering when crawling all inventories.


preorderInfoPreorderInfo

Preorder information.


productIdstringRead-only

Product ID.


trackQuantityboolean

Whether quantity is being tracked. This applies to the entire product, not to individual variants. Every call to UpdateInventoryVariants must explicitly set this field. If it is omitted, it is treated as false and overwrites the product's current tracking setting for ALL variants, not just the ones included in this request's variants list.


variantsArray <InventoryVariantV2>

Variants associated with this inventory item.

Did this help?