Exclusive: all our customers get a free six-month subscription to a next-gen data and AI learning platform

Query the Lightspeed Retail (X-Series/Vend) API using regular SQL

You're a developer. You're perfectly capable of connecting to the Lightspeed Retail (X-Series/Vend) 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 Lightspeed X-Series data into your favourite reporting tool in just two minutes and three easy steps.

1 2 3 Connect Lightspeed X-Series 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 (yours, or we'll provide one for free). We check for changes so you don't have to.

1 2 3 Build your customized reports

Query and share your data using our built-in Insights platform, or use your own reporting tools 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 Lightspeed Retail (X-Series/Vend) account and you can be querying your data in just a couple of minutes.

BYOD

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 Lightspeed Retail (X-Series/Vend) and query it via SQL within minutes. Our feed is so quick, you'll think you're querying Lightspeed Retail (X-Series/Vend) directly!

Your data is secure

Your Lightspeed Retail (X-Series/Vend) 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 Lightspeed X-Series, 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 Lightspeed X-Series data model to create SQL queries for you - just describe your problem and watch the magic happen.
SyncHub can poll Lightspeed X-Series 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 Lightspeed X-Series. The best way to find out is to simply grab a free trial of SyncHub, connect Lightspeed X-Series, then see for yourself.
No. SyncHub is a reporting tool and cannot reflect changes back to your cloud application.
We currently sync Audit log event, Brand, Consignment, Customer, Customer group, Inventory, Outlet, Outlet product tax, Payment, Payment method, Price book, Price book product, Product, Product category, Product type, Promotion, Register, Sale, Sale fulfillment, Sale item, Sale item promotion, Supplier, Tag, Tax, User, Product variant, Consignment product, Product variant value, Product tag, Product product category, Promotion condition include, Promotion condition exclude, Promotion action include, Promotion action exclude, Promotion outlet, Promotion channel, Promotion customer group and Tax rate (see our Data Model for full details). If there's something else you need just ask.
Your Lightspeed X-Series 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. You can read more about our security best practices here.

Example queries

Check out these example queries for some inspiration

  • select tr.DisplayName, tr.Rate, t.DisplayName, t.IsDefault from [vend].TaxRate tr left join [vend].Tax t on tr.TaxRemoteID = t.RemoteID
  • select pcg.PromotionID, pcg.CustomerGroupID, p.ShowPotential, p.PromoCodeSummaryRedeemedAmount from [vend].PromotionCustomerGroup pcg left join [vend].Promotion p on pcg.PromotionRemoteID = p.RemoteID
  • select pc.PromotionID, pc.ChannelName, p.ShowPotential, p.PromoCodeSummaryRedeemedAmount from [vend].PromotionChannel pc left join [vend].Promotion p on pc.PromotionRemoteID = p.RemoteID
  • select top 9 CreatedAt, OccurredAt, UserAgent, IpAddress, EntityID, Action from [vend].AuditLogEvent order by CreatedAt
  • select top 9 DeletedAt, Version, Name, ID, WhenModified, WhenCreated from [vend].Brand order by DeletedAt
  • select top 12 ProductCount, DeletedAt, UpdatedAt, CreatedAt, TotalCostLoss, TotalCountLoss from [vend].Consignment order by ProductCount
* 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.