Inventory Sync Guide
Ensure your product availability is always up-to-date for AI agents.
Accurate inventory data is vital for a good user experience. AI agents need to know in real-time whether a product is available to avoid recommending out-of-stock items. This guide explains how Abba Baba handles inventory synchronization.
Why Real-Time Sync Matters
Out-of-sync inventory can lead to failed purchases, user frustration, and a lower Quality Score for your products. Our system is designed to keep your stock levels as current as possible.
Sync Methods by Platform
Shopify & WooCommerce
For stores connected via our official Shopify app or WooCommerce plugin, inventory synchronization is largely automated.
- • Automatic Updates: We use webhooks to receive real-time updates from your store. When a product's inventory level changes in your platform, your store notifies Abba Baba, and we update our records within seconds.
- • Daily Full Sync: In addition to real-time updates, we run a full synchronization of all your products once every 24 hours to catch any changes that might have been missed.
- • Manual Trigger: You can trigger a full re-sync at any time from your merchant dashboard under "Settings" → "Store Connection". Please use this sparingly.
CSV Uploads
If you manage your products via CSV, you are responsible for keeping inventory levels accurate.
- • Updating Inventory: To update stock levels, you must upload a new CSV file. The file only needs to contain the `sku` and `inventory_quantity` columns for the products you wish to update.
- • Frequency: We recommend uploading a new CSV file at least once per day, or more frequently if your inventory changes often.
- • Out-of-Stock Items: Set the `inventory_quantity` to 0 for any products that are no longer available.
Warning: Outdated inventory for CSV-managed stores can significantly harm your Quality Score. It is crucial to keep your stock levels current.
Troubleshooting Sync Issues
If you notice discrepancies between your store's inventory and what's shown on Abba Baba, here are a few things to check:
- • Check Webhook Status (Shopify/WooCommerce): Ensure that webhooks from your store are not being blocked or failing. You can check this in your platform's developer or logging sections.
- • Verify SKU Matching (CSV): Double-check that the SKUs in your CSV file exactly match the SKUs of the products you intend to update.
- • Allow for Processing Time: While webhook updates are nearly instant, a full manual sync can take several minutes. Please be patient after triggering a sync.
For more detailed help, please see our Products Not Syncing guide.