Query the Cin7 Core (Dear Inventory) API using regular SQL

You're a developer. You're perfectly capable of connecting to the Cin7 Core (Dear Inventory) API and pulling down data. But why waste your time building an API integration when your skills and time are better spent elsewhere?

API integrations are hard to build and maintain. But with SyncHub, you can query your data source using a language you know and love - SQL.

How it works

Get your Cin7 Core (Dear Inventory) data into your favourite reporting tool in just two minutes and three easy steps.

1 2 3 Connect Cin7 Core (Dear Inventory) to SyncHub

Securely connect your cloud software to SyncHub and we'll do the rest.

1 2 3 We sync your data automatically

SyncHub incrementally syncs your data and stages it in a managed data warehouse. We check for changes so you don't have to.

1 2 3 Connect your reporting tool

Query and share your data using our built-in Insights platform, or use your own reporting tool - such as like Excel, Tableau or Power BI.

No ODBC driver required

SyncHub runs in the cloud, 24×7. There are no ODBC drivers to install or maintain, and no local computer required to cache your results. Just securely connect SyncHub to your Cin7 Core (Dear Inventory) account and you can be querying your data in just a couple of minutes.


Want more power? How about views, stored procedures or triggers? No problem - SyncHub's Bring Your Own Database feature gives you complete control over your database.

Real-time data*

Make a change in Cin7 Core (Dear Inventory) and query it via SQL within minutes. Our feed is so quick, you'll think you're querying Cin7 Core (Dear Inventory) directly!

Your data is secure

Your Cin7 Core (Dear Inventory) data is stored using best-practice security protocols. But if you're still concerned, no worries - just use our BYOD (Bring Your Own Database) option when setting up your account.

Frequently asked questions

Not directly, no. But SyncHub's ERD model, combined with the real-time* sync from Cin7 Core (Dear Inventory), means that it is essentially the same as querying directly.
No. Our solution is cloud-hosted, meaning no installs are required on your own computers. Furthermore, because it is cloud-hosted, SyncHub runs in the background 24-7, keeping your data up to date while you sleep.
If your SQL skills are a little rusty, we've got you covered too. Our AI-powered Query Assistant uses knowledge of your Cin7 Core (Dear Inventory) data model to create SQL queries for you - just describe your problem and watch the magic happen.
SyncHub can poll Cin7 Core (Dear Inventory) as frequently as every five minutes, however this capability may be limited by the amount of data you have and/or the type of plan you have with Cin7 Core (Dear Inventory). The best way to find out is to simply grab a free trial of SyncHub, connect Cin7 Core (Dear Inventory), then see for yourself.
No. SyncHub is a reporting tool and cannot reflect changes back to your cloud application.
We currently sync Attachment, Chart of account, Customer, Customer address, Customer contact, Customer product, Disassembly, Disassembly order line, Disassembly order service line, Disassembly pickLine, Factory calendar, Factory calendar day, Factory calendar special day, Location, Location bin, Location pick zone, Product, Product availability, Product BOM product, Product BOM service, Product category, Product custom price, Product family, Product family product, Product family production BOM, Product family production BOM operation, Product family tag, Product movement, Product price tier, Product production BOM, Product production BOM operation, Product reorder level, Product supplier, Product tag, Production order, Production order run, Purchase, Purchase attachment, Purchase inventory movement, Purchase invoice, Purchase invoice line, Purchase order line, Purchase payment, Purchase stock received, Purchase stock received line, Sale, Sale attachment, Sale credit note, Sale credit note line, Sale fulfilment, Sale fulfilment pick pack line, Sale fulfilment ship line, Sale inventory movement, Sale invoice, Sale invoice additional charge, Sale invoice line, Sale order line, Sale payment, Supplier, Supplier address, Supplier contact, Work center and Work center location (see our Data Model for full details). If there's something else you need just ask.
Your Cin7 Core (Dear Inventory) data is stored in its own dedicated data warehouse, hosted in our Microsoft Azure Sydney Data Center. If you'd like it stored somewhere else (even your own servers), just enquire about our BYOD (bring-your-own-database) option.
Absolutely. Every customer gets their very own isolated data warehouse. Database credentials are salt-encrypted...multi-factor authentication can be activated for your account...we take security very seriously.

Example queries

Check out these example queries for some inspiration

  • select sim.COGS, sim.Date, s.OrderTotal, s.OrderTax from [dearinventory].SaleInventoryMovement sim left join [dearinventory].Sale s on sim.SaleRemoteID = s.RemoteID
  • select pim.COGS, pim.Date, p.LastUpdatedDate, p.Status from [dearinventory].PurchaseInventoryMovement pim left join [dearinventory].Purchase p on pim.PurchaseRemoteID = p.RemoteID
  • select scnl.LineNumber, scnl.Comment, scn.Total, scn.Tax from [dearinventory].SaleCreditNoteLine scnl left join [dearinventory].SaleCreditNote scn on scnl.SaleCreditNoteRemoteID = scn.RemoteID
  • select top 14 LastModifiedOn, IsOnCreditHold, CreditLimit, Status, AdditionalAttribute10, AdditionalAttribute9 from [dearinventory].Customer order by LastModifiedOn
  • select top 14 IncludeInEmail, Comment, Default, Website, Email, Fax from [dearinventory].CustomerContact order by IncludeInEmail
  • select top 14 DefaultForType, Type, Country, Postcode, State, City from [dearinventory].CustomerAddress order by DefaultForType
* Realtime

SyncHub's engine polls for changes every 5 minutes. However, different APIs, and different endpoints within those APIs, may impose restrictions beyond our control - thereby reducing the fidelity of your real-time feed.