Business Central – Documentation¶
Integration between WooCommerce and Microsoft Business Central (Dynamics 365).
Contents¶
- Architecture — module overview, sync flows and database tables
- Configuration — required constants, admin settings and WP-CLI commands
- API — Business Central REST API client, OAuth 2.0 and available endpoints
- Sync flows — how orders, customers, products and refunds are synced
Quick overview¶
The plugin uses scheduled jobs (Action Scheduler) to push WooCommerce data to Business Central:
| Entity | Scheduler class | Direction |
|---|---|---|
| Orders | OrdersScheduler / SyncOrdersScheduler | WC → BC |
| Customers | CustomerScheduler / SyncCustomerScheduler | WC → BC |
| Products | ProductsScheduler | BC → WC |
| Refunds | RefundsScheduler / SyncRefundsScheduler | WC → BC |
Sync state is tracked in four custom database tables — see Architecture for the ER diagram.