=== Business Central Connector === Contributors: srdjan121 Tags: Business Central, WooCommerce, integration, ERP, Connector Requires at least: 5.0 Requires PHP: 7.0 Tested up to: 6.8 Stable tag: 1.2.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Text Domain: businesscentralconnector Domain Path: /languages Extends WooCommerce API for Business Central integration via Synfynal Connector. Requires Business Central/WooCommerce Connector from AppSource. == Description == Business Central Connector enhances WooCommerce by providing additional support for handling metadata during REST API operations. This plugin is designed as a **technical, supporting component** for integrations with Microsoft Dynamics 365 Business Central. It enables updates to metadata (like customer roles) during API inserts that the standard WooCommerce API does not expose. **Key features:** * Extends WooCommerce REST API to support custom metadata modifications. * Provides a foundation for integrations that require extended API functionality. * Lightweight and compatible with WooCommerce core. * Activation and deactivation hooks automatically manage user_role metadata. The WooCommerce Connector offers you the best of two worlds: the easy to use, the WordPress e-commerce solution WooCommerce that allows you to set up an online store to sell your goods combined with the business process flows of the Microsoft Dynamics 365 Business Central. **The WooCommerce Connector will help you in the following ways:** * Save time: Avoid tedious double entry, human errors and delays by automating your process. * Unparalleled accuracy: The age of manual entry is behind us. Transactions should seamlessly synchronize between systems avoiding human error. * Two-way data sync: Synchronize Woocommerce directly to Microsoft Dynamics 365 Business Central without managing a separate tool. * Multistore sync: Synchronize multiple WooCommerce stores to one Microsoft Dynamics 365 Business Central company. == Installation == 1. Upload the `businesscentralconnector` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. No additional configuration is required; it operates automatically in the background. == Frequently Asked Questions == = Does this plugin synchronize data with Business Central? = No. Data synchronization is handled by external integration tools, such as the **WooCommerce Connector available on Microsoft AppSource**. This plugin only extends WooCommerce API support to enable such integrations. = Can I use this plugin for other integrations? = Yes. Any integration that requires extended WooCommerce metadata handling can benefit from this plugin. == Screenshots == 1. Example metadata payload in the WooCommerce REST API request showing `user_role`. 2. Metadata modifications applied automatically after API insert. *(Replace these placeholders with actual screenshots of your WooCommerce admin and API request.)* == Changelog == = 1.1.6 = * Added the '/bccentralconnector/eligible-roles' edpoint to update eligible user roles. = 1.1.5 = * Added the '/bccentralconnector/user-roles' endpoint to return existing user roles from the webstore. * Added the '/bccentralconnector/ping' endpoint to confirm that the plugin exists on the webstore. = 1.1.4 = * Added elex_discount_eligible metadata to manage eligible users. = 1.0.2 = * Added additional description on the plugin page. = 1.1 = * Added activation/deactivation hooks to manage `user_role` meta. * Added plugin action link for WooCommerce Connector. * Improved REST API handling for metadata updates. = 1.0 = * Initial release with support for extended WooCommerce REST API metadata handling. == Upgrade Notice == = 1.1.6 = This release introduces the ability to update eligible user roles for discounts via the API. = 1.1.5 = This release introduces the ability to retrieve existing user roles from the webstore via the API. = 1.1.4 = This release adds the possibility to assign users eligible for discounts via the API. = 1.0.2 = This release adds additional description for users. = 1.1 = This release adds user_role management and improves API handling. = 1.0 = First release. == Additional Notes == For full integration with Microsoft Dynamics 365 Business Central, please refer to the official **[WooCommerce Connector on Microsoft AppSource](https://appsource.microsoft.com/en-us/product/dynamics-365-business-central/PUBID.synfynal%7CAID.woocommerce-connector%7CPAPPID.91445282-543f-41e8-825c-a1186639bb82?tab=Overview)**. For more details, documentation, and support resources, please visit the official **[Synfynal website](https://www.synfynal.com/)**.