Menu
Feedback
Start here
Tutorials
Developer portal

Known Issues
Support Rules
Troubleshooting

Frequently Asked Questions
Announcements
Tutorials
Tutorials
Explore in-depth tutorials for operating your VTEX store.
Tutorials
Beta
VTEX Data Pipeline Beta
Inventory Data Pipeline
Inventory Data Pipeline

The dataset of the item_inventory table provides information about the availability of items in the inventory, specifying the total quantity of available items, active reservations, unlimited inventory option, as well as SKU and inventory IDs. This table also records updates with timestamps and control IDs.

This section includes the following information:

Data characteristics

CharacteristicDescription
Data sourceObtained from information in the logistics module.
AvailabilityVTEX Admin.
HistoryThe data is retained for two years, from 2024 for clients who already use the VTEX platform.
Minimum update intervalOne hour.

Table: item_update_latest

The table fields are described below:

Column nameColumn typeColumn description
batch_idcharacter varying(13)Identifier used when data is loaded into the table for quality control of data ingestion.
last_datetimestamp without time zoneDate and time of the last change to the inventory.
item_availabilty_idcharacter varying(65535)SKU inventory schema's id.
item_idcharacter varying(65535)Item’s identifier.
main_account_namecharacter varying(65535)Name of the parent account associated with the item.
account_namecharacter varying(65535)Name of the account related to the item.
is_unlimited_quantitybooleanBoolean flag that indicates whether a sku is always available regardless of its quantity.
quantityintegerSKU quantity on stock.
reserved_quantityintegerReserved SKU units. Orders for these reservations have not yet been approved for payment.
reservation_idcharacter varying(65535)Identification of a reserve for that item.

Table: item_update_historical

The table fields are described below:

Column nameColumn typeColumn description
batch_idcharacter varying(13)Identifier used when data is loaded into the table for quality control of data ingestion.
created_attimestamp without time zoneDate and time of the change to the inventory.
item_availabilty_idcharacter varying(65535)SKU inventory schema's id
item_idcharacter varying(65535)Item’s identifier
main_account_namecharacter varying(65535)Name of the parent account associated with the item.
account_namecharacter varying(65535)Name of the account related to the item.
author_idcharacter varying(65535)Author of the inventory change
event_typecharacter varying(65535)Type of availability change (e.g. reservation-create, reservation-cancel, item-availability-update)
metadata_created_attimestamp without time zoneTime an event was generated
is_unlimited_quantitybooleanBoolean flag that indicates whether a sku is always available regardless of its quantity
quantityintegerSKU quantity on stock
reserved_quantityintegerReserved SKU units. Orders for these reservations have not yet been approved for payment.
reservation_idcharacter varying(65535)Identification of a reserve for that item

Analyses with inventory

Some of the analyses that can be run using the inventory table are mentioned below:

  • Inventory level analysis: Assess whether the inventory meets demand and identify items at risk of running out of stock.
  • Inventory reservation trends: Analyze the number of items that have been reserved over time to identify patterns and adjust inventory management strategies.
  • Inventory distribution analysis by account: Optimize inventory management across multiple accounts and understand how inventory is distributed.

Correlations with other data

Inventory data correlates with order and product sets, and provides a more comprehensive analysis for purchases, sales, and marketing. Some examples are:

  • Interaction with order data: Joint analysis with order data offers insights about how efficiently is customer demand being met and helps forecast restocking needs.
  • Relationship with SKUs: Integration with SKU data helps manage inventory based on product popularity and availability.
  • Purchase and supplier data: Coordination with purchase data allows you to maintain an ideal inventory balance, which avoids overstocking or shortages.
  • Sales and marketing analysis: Understanding inventory directly impacts marketing and sales strategies, which allows aligning promotions and campaigns with product availability.

Discover other Datasets

Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback