Query the Brightpearl API using regular SQL

You're a developer. You're perfectly capable of connecting to the Brightpearl 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 Brightpearl data into your favourite reporting tool in just two minutes and three easy steps.

1 2 3 Connect Brightpearl 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

Use reporting tools like Excel, Tableau or Power BI to connect to your data warehouse and build sophisticated reports and dashboards.

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 Brightpearl 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 Brightpearl and query it via SQL within minutes. Our feed is so quick, you'll think you're querying Brightpearl directly!

Your data is secure

Your Brightpearl 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 Brightpearl, 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.
SyncHub can poll Brightpearl 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 Brightpearl. The best way to find out is to simply grab a free trial of SyncHub, connect Brightpearl, then see for yourself.
No. SyncHub is a reporting tool and cannot reflect changes back to your cloud application.
We currently sync Brand, Channel brand, Company, Contact, Contact custom field, Contact custom field option, Contact custom field value, Contact tag, Contact tag value, Order, Order goods note, Order goods note movement, Order invoice, Order landed cost estimate, Order payment, Order row, Order row product variation, Order shipping status, Order status, Order stock status, Order type, Postal address, Price list, Product, Product category, Product channel, Product channel warehouse, Product custom field, Product custom field option, Product custom field value, Product price, Product product category, Product season, Product supplier, Product type, Product type associated variation, Product variation, Product variation option, Product variation value, Product warehouse availability, Product warehouse location availability, Season, Shipping method, Shipping method break, Shipping method country, Warehouse and Warehouse location (see our Data Model for full details). If there's something else you need just ask.
Your Brightpearl 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 wl.Barcode, wl.FullName, w.WeeklyOperatingPeriodDay7ClosingHours, w.WeeklyOperatingPeriodDay7OpeningHours from [brightpearl].WarehouseLocation wl left join [brightpearl].Warehouse w on wl.WarehouseRemoteID = w.RemoteID
  • select smc.CountryCode, smc.ShippingMethodID, sm.Countries, sm.Carrier from [brightpearl].ShippingMethodCountry smc left join [brightpearl].ShippingMethod sm on smc.ShippingMethodRemoteID = sm.RemoteID
  • select smb.Break, smb.ShippingMethodID, sm.Countries, sm.Carrier from [brightpearl].ShippingMethodBreak smb left join [brightpearl].ShippingMethod sm on smb.ShippingMethodRemoteID = sm.RemoteID
  • select top 11 Description, Name, ID, WhenModified, WhenCreated, IsDeleted from [brightpearl].Brand order by Description
  • select top 8 BankName, VatNumber, BankSwift, BankSortCode, BankAccountNumber, AccountingEmailAddress from [brightpearl].ChannelBrand order by BankName
  • select top 9 UpdatedOn, CreatedOn, Name, ID, WhenModified, WhenCreated from [brightpearl].Company order by UpdatedOn
* 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.