On the P21 server, a custom SSIS (SQL Server Integration Package) was created to extract and transform the inventory data. The exported data is then securely transferred to the WordPress server, where a nightly cron job loads it into the WooCommerce database.
Just prior to the automated WooCommerce product import, a custom Windows utility collects the product images and PDF spec sheets on the P21 server, and also transfers it to the WordPress server, so that product’s images and spec sheets can be updated during the import process.
To send WooCommerce orders back to P21, we leverage the WooCommerce API by sending order data to a custom endpoint. This endpoing parses the WooCommerce data, and batch imports orders into P21.