WooCommerce Integration
Monitor WooCommerce orders, products, and customers with real-time change detection. Transform WooCommerce REST API endpoints into event streams.
How RocketHooks Works with WooCommerce
RocketHooks connects to the WooCommerce REST API to monitor your store for order activity, product changes, and customer updates. WooCommerce exposes a comprehensive REST API that RocketHooks polls at your configured interval, detecting changes through JSONPath expressions or full response comparison.
Compatible with WooCommerce 3.5+ with REST API enabled (enabled by default).
Authentication Setup
WooCommerce uses API key authentication. Generate keys in WooCommerce > Settings > Advanced > REST API:
{ "auth": { "type": "basic", "username": "YOUR_CONSUMER_KEY", "password": "YOUR_CONSUMER_SECRET" }}For HTTPS sites (recommended), use the keys directly. For HTTP development sites, WooCommerce uses OAuth 1.0a. RocketHooks handles both.
Endpoint Examples
Monitor New Orders
Track incoming orders as they arrive:
{ "url": "https://your-store.com/wp-json/wc/v3/orders?per_page=20&orderby=date&order=desc", "method": "GET", "pollInterval": 60, "changeDetection": { "strategy": "jsonpath", "expression": "$[*].id" }}Monitor Order Status Changes
Detect when orders transition between statuses (pending, processing, completed):
{ "url": "https://your-store.com/wp-json/wc/v3/orders?per_page=50&orderby=modified&order=desc", "method": "GET", "pollInterval": 120, "changeDetection": { "strategy": "jsonpath", "expression": "$[*].status" }}Monitor Product Stock
Watch for inventory changes across your catalog:
{ "url": "https://your-store.com/wp-json/wc/v3/products?per_page=100&orderby=modified&order=desc", "method": "GET", "pollInterval": 300, "changeDetection": { "strategy": "jsonpath", "expression": "$[*].stock_quantity" }}Common Patterns
Cross-Platform Order Processing
Monitor WooCommerce orders alongside Shopify or other storefronts. RocketHooks normalizes the change events so your fulfillment pipeline receives a consistent webhook payload regardless of the source.
Abandoned Cart Recovery
Track order status changes. When orders stay in “pending” status beyond a configured time, trigger webhook-based follow-up workflows to re-engage customers.
Inventory Sync
Keep WooCommerce inventory synchronized with warehouse management systems. When stock levels change, RocketHooks notifies your WMS to update its records.
Delivery Channels
- Webhooks: Connect to fulfillment or accounting systems with HMAC-signed payloads and automatic retries
Additional delivery channels (Slack, email, SMS) coming soon.
Next Steps
- Generate WooCommerce REST API keys (read permissions minimum)
- Add the consumer key and secret to RocketHooks
- Configure your first order or product monitor
- Set up webhook delivery for your workflow