invantive documentation
Invantive Support ForumsLog In / Sign Up

Magento Data Model

Magento web shop.

Set up this platform in Invantive Cloud: https://cloud.invantive.com/magento

The data is partitioned per partition (COMPANY_CODE).

Text comparisons on this platform are case sensitive.

Platform

  • Used from: Invantive Cloud and the Invantive products on your own computer or server.
  • Kind: an application reached over its API.
  • Invantive Cloud plans: Office for Entrepreneurs, Office for Accountants, Premium Finance, OEM.

Figures

Figure Count
Tables 31
Columns 918
Tables with insert 16
Tables with update 15
Tables with delete 14
Tables documented 30

Data Model Poster

This data model declares no keys yet; the dotted relations are derived from column names.

PDF, 1 A0 sheet

On a table of the poster: plus and minus zoom, the arrow keys move, 0 fits.

Magento data model, Sheet 1 of 1Magento data modelfor use with Invantive UniversalSQLRelease 27.1.33-BETA+6408 · 03-11-2026StoreSheet 1 of 1 · documentation.invantive.euStoreMagento.Store.StoreConfigs: Store ConfigsStoreConfigsMagento.Store.StoreGroups: Store GroupsStoreGroupsMagento.Store.StoreViews: Store ViewsStoreViewsMagento.Store.Websites: WebsitesWebsitesCountryMagento.Store.Countries: CountriesCountriesNATIVEPLATFORMSCALARREQUESTSMagento.Native.NATIVEPLATFORMSCALARREQUESTS: Native Platform Scalar RequestsNATIVEPLATFORMSCALARREQUESTSMagentoNotesThis data model declares no keys yet; the dotted relations are derived from column names.Data dictionaryEvery table and column of this data model is described with its documentation ondocumentation.invantive.eu, where the poster is also available in other languages.NotesThe boxes are grouped by topic and coloured by category. A relation is drawn in the topic of thetable holding the key; a box in pale grey is defined in another topic.TopicsStore1Tables without relations1LegendTransactionalSetupTechnicalHard-coded valuesDefined in another topicDeclared keyRelation described in wordsCandidate derived from column namesBold: a popular table+Bulk, +Read: the table also exists as these variants×n: n relations between the same tablesGenerated from the metadata of Invantive UniversalSQL 27.1.33-BETA+6408 on 03-11-2026. Every table links toits page with columns, keys and sample queries.documentation.invantive.eu/en/datamodels/magento
The poster as text: tables per topic and their relations

Store

StoreConfigs, StoreGroups, StoreViews, Websites

Country (without relations)

Countries

NATIVEPLATFORMSCALARREQUESTS (without relations)

NATIVEPLATFORMSCALARREQUESTS

Relations

Tables

Magento.Catalog

Magento.Cms

Magento.Customers

Magento.Inventory

Magento.Marketing

Magento.Native

Magento.Sales

Magento.Store

Magento.Tax

Sample Queries

select itm.sku
,      itm.name
,      sum(itm.qty_ordered - itm.qty_shipped) qty_to_ship
from   Magento.Sales.OrderItems itm
join   Magento.Sales.Orders ord
on     ord.entity_id = itm.order_id
where  ord.state in ('new', 'processing')
group
by     itm.sku
,      itm.name
select ord.state
,      count(*) order_count
,      sum(ord.grand_total) order_total
from   Magento.Sales.Orders ord
where  ord.created_at >= to_char(sysdateutc - 30, 'YYYY-MM-DD')
group
by     ord.state
select pdt.sku
,      pdt.name
,      pdt.price
,      pdt.extension_attributes_stock_item_qty stock_quantity
from   Magento.Catalog.Products pdt
where  pdt.status = 1
and    pdt.price > 100
select sim.sku
,      sim.source_code
,      sim.quantity
from   Magento.Inventory.SourceItems sim
where  sim.status = 1
and    sim.quantity < 5

Attributes

The attributes of this platform are on the page Attributes.