Docs/Integrations/WooCommerce
E-commerce

WooCommerce Integration

Connect your WooCommerce store via REST API to sync products, orders, and inventory. Works with any WordPress hosting provider.

10 min
Setup Time
Hourly
Sync Frequency
v3
API Version

What Gets Synced

Data TypeDirectionFrequency
ProductsWooCommerce → DecisioHourly
Product VariationsWooCommerce → DecisioHourly
OrdersWooCommerce → DecisioHourly
Stock LevelsBi-directionalHourly
Price UpdatesDecisio → WooCommerceOn approval
CategoriesWooCommerce → DecisioDaily

Prerequisites

  • WooCommerce 5.0 or later
  • WordPress 5.6 or later
  • REST API enabled (default in WooCommerce)
  • HTTPS enabled on your site
  • Pretty permalinks enabled

Setup Instructions

Step 1: Generate API Keys

  1. In WordPress admin, go to WooCommerce → Settings → Advanced → REST API
  2. Click Add key
  3. Enter a description (e.g., "Decisio Integration")
  4. Set permissions to Read/Write
  5. Click Generate API key
  6. Copy the Consumer Key and Consumer Secret (you won't see them again)

API Key Security

Your API keys grant full access to your WooCommerce data. Store them securely and never share them publicly. You can revoke and regenerate keys at any time from the WooCommerce settings.

Step 2: Connect in Decisio

  1. From your Decisio dashboard, go to Settings → Integrations
  2. Click Connect next to WooCommerce
  3. Enter your store URL (e.g., https://yourstore.com)
  4. Paste the Consumer Key and Consumer Secret
  5. Click Test Connection

Step 3: Configure Sync

  1. Select sync frequency (hourly recommended for most stores)
  2. Choose which product types to sync
  3. Enable/disable price writeback
  4. Click Save & Start Sync

Price Writeback

When enabled, approved price changes update your WooCommerce products:

  • Updates regular price and sale price
  • Handles variable products at variation level
  • Respects sale date ranges if set

Cache Considerations

If you use caching plugins (WP Super Cache, W3 Total Cache, etc.), price updates may not appear immediately on your storefront. Consider excluding product pages from cache or using cache purge rules.

Inventory Management

WooCommerce inventory sync supports:

  • Simple products with stock management
  • Variable products (variation-level stock)
  • Backorder settings
  • Low stock threshold sync

Troubleshooting

Connection Failed

  • Verify HTTPS is working on your site
  • Check that REST API is not disabled by a security plugin
  • Ensure pretty permalinks are enabled (Settings → Permalinks)
  • Try regenerating API keys

Slow Sync

  • Large catalogs may take longer initially
  • Check server resources (hosting upgrade may help)
  • Reduce sync frequency if server load is high

Missing Products

  • Products must be "Published" status
  • Virtual and downloadable products sync by default
  • Check that product type is supported (simple, variable, grouped)