Hooks Smartpack WMS need endpoints to update different data for product, stock and order there will be some REST API endpoints for that. remeber to add a webhook key in the settings area else its have disabled security and all can sending webhook to your store.
Stock changed webhook
{domain-path}/wp-json/smartpack-wms/v1/stock-changed
Order changed webhook
{domain-path}/wp-json/smartpack-wms/v1/order-changed
All data between SmartPack WMS and Woocommerce will be synced. We are using WordPress built-in cron-scheduler for processing order and product data, if you disabled the built-in cron-scheduler in WordPress, you need to run add custom-cronjob inside your crontab file and be sure to install the WP CLI on your system.
* * * * * wp cron event run wms_cron_product_hook
* * * * * wp cron event run wms_cron_order_hook
You can also use WP CLI to trigger cron events manually or delete existing cron events if something goes wrong.
wp cron event run --due-now --allow-root
wp cron event delete wms_cron_product_hook --allow-root
- Simple product use its own SKU
- Product variations need there own SKU else its used parent SKU.
WMS
- Product
- CLI: Full sync of products from shop to WMS integration
- Order
- CLI: Sync all with shipment status
- Stock
- Hook: update product stock on hook signals
- CLI: Full stock sync to be ajour from WMS into Woo
Custom orders will not be automatically transfered to the WMS integration.