Integrations
External commerce sync
Connect Shopify, WooCommerce or Etsy and mirror live commerce data into OrderInChat.
Overview
Channels & integrations → External commerce (/en/integrations/commerce) mirrors products, prices, stock, orders and other supported data from Shopify, WooCommerce or Etsy into OrderInChat. The widget, WhatsApp and Instagram AI, automations, and optional shipping labels use the mirrored data.
This integration does not clone the source theme and does not replace the external checkout.
Who sells and who takes payment
| Where the customer buys | Payment and order | Stock |
|---|---|---|
| Your Shopify / WooCommerce / Etsy store | Your store takes the payment and keeps the order; the sync copies the order into Sales → Orders | Your store's stock comes into OrderInChat with the sync |
| Chat assistants (WhatsApp, Instagram, Messenger, web chat, voice) | No cart and no payment in the chat. With Sell on OrderInChat (the default) the assistant tells the buyer to buy on your store's website and shares a product page link only when a tool returned one; with Send them to my website it sends a product page or a ready cart link; with Note the order, my team completes it it notes the request for your team | — |
| Your OrderInChat storefront and orders created in the panel | OrderInChat checkout with your payment providers; the order stays in OrderInChat and is not created in your store | The same quantity is taken off your store's stock (see Inventory locations below) |
Shopify connection
OrderInChat connects with Shopify's own sign-in (OAuth), so you do not copy any token.
- In OrderInChat go to Channels & integrations → External commerce, choose Shopify, enter the HTTPS shop URL (for example
https://your-store.myshopify.com) and click Connect with Shopify. - Approve the permissions in Shopify. You return to OrderInChat automatically. Then click Test connection, Register webhooks, and Sync now.
Shopify asks you to approve these permissions for OrderInChat: read_products, write_products, read_inventory, write_inventory, read_orders, read_customers, read_content, read_legal_policies, read_discounts, read_shipping, read_files, read_locales, read_locations, read_script_tags, write_script_tags. The write permissions are used for changes you push from the Bulk Editor, stock write-back for OrderInChat sales, and the optional widget install.
Manual token setup
Use this only if Connect with Shopify does not work for your store and your store already has a legacy custom app.
Since January 1, 2026, Shopify no longer lets stores create new custom apps in the Shopify admin. New apps are created in the Shopify Dev Dashboard (dev.shopify.com) or with Shopify CLI. Custom apps created in the admin before that date (legacy custom apps) keep working.
- In the Shopify admin open Apps → Develop apps, select your legacy custom app and open API credentials.
- Check that the app has the Admin API scopes listed above. Without
write_inventory, stock write-back fails; withoutwrite_script_tags, the widget is not installed automatically. - Copy the Admin API access token (it starts with
shpat_) and the API secret key. Shopify shows the access token only once; if you no longer have it, uninstall and reinstall the app to get a new one. - In OrderInChat expand Manual token setup, paste both values and save. Then test the connection, register webhooks and sync, as in step 2 above.
Apps created in the Dev Dashboard or with Shopify CLI do not give you a permanent token: their client credentials token expires after 24 hours, and manual setup does not renew it, so the connection would stop working the next day. If your store has no legacy custom app, use Connect with Shopify.
The API secret key is required to verify Shopify webhook HMAC signatures. OrderInChat encrypts credentials and never displays them again.
Official guides: Shopify custom apps, Legacy admin-created custom apps and Client credentials tokens (24-hour expiry).
WooCommerce connection
In WordPress open WooCommerce → Settings → Advanced → REST API, create a key with Read/Write permission (a Read-only key cannot register webhooks or write stock for OrderInChat sales and Bulk Editor changes back to WooCommerce), and enter the HTTPS store URL, consumer key, and consumer secret. Create the key for a WordPress user with the "Shop manager" or "Administrator" role (the manage_woocommerce capability); with another user's key the sync fails and the integration page shows the "Your WooCommerce API key does not have enough permission" notice. If the notice lists only webhooks, press Register webhooks on the connection after saving the new key; the notice closes once the webhooks are registered. To sync WordPress pages and posts, also enter a WordPress username and Application Password from Users → Profile.
Official guide: WooCommerce REST API.
Some hosts reject HTTP Basic authentication. The connector can retry WooCommerce requests with query-string authentication; credentials are redacted from logs.
Etsy connection
Etsy connects with Etsy's own sign-in (OAuth); you do not copy any key.
- Choose Etsy and click Connect with Etsy. If the tab shows Coming soon, the Etsy connection is not enabled for OrderInChat yet.
- Sign in with the Etsy account that owns the shop and approve the requested access (
shops_r,listings_r,transactions_r,listings_w: read your shop, listings and sales, update your listings). You return to OrderInChat automatically. - Click Test connection, then Sync now.
What is mirrored: active listings with variations, prices, stock, SKUs, photos, tags, shop sections as categories, weight and dimensions; shop policies into the Knowledge Base; shipping profiles as shipping rules; Etsy orders (receipts) into Orders, in the same format as Shopify and WooCommerce orders (status, payment, items with variations, ship-to address, tracking number, buyer note). The AI order-status tool reads them like any other order. Buyers become guest customers without marketing consent, and OrderInChat never messages Etsy buyers or runs order automations for Etsy orders. Coupons and reviews are not imported.
What is written back to Etsy: in the Bulk spreadsheet editor, fields you set to push to the source update the listing — name (title), status (active / inactive), price, stock and SKU. A field that varies by variation on Etsy is edited on the variation; a field shared by all variations on the listing. Compare-at prices do not exist on Etsy. When an Etsy product is sold through OrderInChat (storefront or panel order), the same quantity is taken off the Etsy stock, and given back when the order is cancelled or refunded; writes are queued and retried up to 5 times. Only an explicit status change to active in the bulk spreadsheet editor activates an Etsy listing (the editor warns that Etsy may charge a listing fee); OrderInChat never raises stock on an Etsy listing that is not active, because that could relist it.
Etsy has no webhooks, so changes arrive with the regular sync (the poll interval); after the first full order pass, a regular sync reads only recently changed orders, and Sync now reads them all. If your Etsy connection was made before order import was available, the tab asks you to click Reconnect Etsy and approve the new access. If Etsy access expires or is revoked, the sync shows an error; click Reconnect Etsy. Disconnect deletes the stored Etsy tokens.
Sync behavior
- Save and test the connection.
- Register webhooks — creates subscriptions on the external store so product, order, and customer changes notify OrderInChat near real time. OrderInChat also checks for changes regularly in case a webhook is missed.
- Select the resources to mirror.
- Run the initial sync.
For safety, OrderInChat verifies each webhook and re-checks the data with Shopify or WooCommerce before saving it. The regular checks catch missed webhooks only while Use as commerce source is enabled. If webhook status shows an error and the connection is inactive, use Register webhooks and Sync now after changes on the source store; Test connection alone does not update products. Repeated updates do not create duplicate records.
Shopify variant shipping weight is imported from the variant's weight in Shopify; the product editor shows it in the shop's configured weight unit. Dimension metafields named length, width, or height are converted to centimeters. Shopify product descriptions come from the product's own description, not shared theme sections or banners; theme copy does not become a product-specific description. Draft and archived products are not shown to customers.
With an active connection the chat assistants follow the second row of the table above: OrderInChat cart and WhatsApp checkout flows are not used in the chat. Your OrderInChat storefront keeps its own checkout.
Products you already imported from your website
If you imported products from your website before connecting the store, the product sync looks for the same product among them (same SKU, same web address, or same name) instead of creating a second copy. Until you decide, matched store products are not created. The page shows an Imported products found card:
- Link matched products links them. The product page, its link and its translations stay; the store's price, stock, description and images replace the imported ones (the old values are saved), and stock changes are sent back to the store like for any other synced product. A product sync starts right away.
- Each matched row shows the store price next to the current price, with a badge when it changes and a warning when the currency differs; the confirmation says on how many products the price changes. While a matched product has no store price yet, the button stays off — run a product sync first.
- A product is not linked automatically when more than one imported product matches, when the SKU or web address matches but the product name differs, when only a short numeric SKU matches, or when the imported product has variants the store product doesn't have. The card shows the reason; pick the right product and click Link this product. Variants missing in the store are set to stock 0 (not deleted); if the store doesn't track that product's stock, it can't be linked.
- Don't link (create separate products) creates the store products as new products, so the same product appears twice in your catalog.
Products waiting for this choice are not reported as missing products in the sync checks.
Inventory locations
Shopify locations and per-variant inventory levels are mirrored into OrderInChat warehouse/location records. Product and variant stock show the total across locations for chat and checkout. WooCommerce core exposes one total stock value, so it is mirrored into a default virtual location; multi-location stock from WooCommerce plugins requires a supported plugin.
You can add your own OrderInChat locations under Catalog → Inventory. Bulk Editor stock cells expand per location. Pushing inventory to Shopify updates the selected location only and requires the write_inventory scope. Locked stock fields are not overwritten by a later inventory sync.
OrderInChat sales and source stock (Shopify, WooCommerce, Etsy): when a product mirrored from your store sells in OrderInChat (storefront or panel order), the same quantity is taken off the stock in your store, and given back if the order is cancelled or refunded before shipping. Writes are queued and retried (5 tries). Only stock is written — never the product status or visibility — and stock is never written below 0. Until the write is done, a sync keeps the OrderInChat stock of that product instead of overwriting it; sales made in your store keep arriving through the normal sync. Shopify takes the quantity from the locations with the most stock; it needs the write_inventory scope. WooCommerce needs a Read/Write REST API key and has no stock difference API, so OrderInChat reads the current stock and writes the new value (a WooCommerce sale in the same few milliseconds can be lost). If your store refuses the write, the integration page asks you to reconnect.
Shipping labels
OrderInChat shipping labels are off by default. Enable them only if OrderInChat should be the only place that creates labels. Even when enabled, OrderInChat does not buy a label when the external order already has fulfillment or tracking information.
Widget embed
Shopify: Register webhooks also tries to install the chat widget automatically on your Shopify store. You can still paste the snippet into Custom Liquid if needed. Grant write_script_tags on the custom app if auto-install fails.
WooCommerce: The REST API cannot inject theme scripts. Copy the JavaScript or PHP snippet from the integration page into the theme footer or functions.php.
Pages → Knowledge Base
When Pages and posts is enabled, Shopify pages/articles/policies and WooCommerce pages/posts are added to (or updated in) the OrderInChat Knowledge Base for AI answers. Matching Shopify policy titles also fill return/terms storefront fields. This is not a full theme/CMS clone.
API limitations
The integration reports unsupported or unavailable data instead of inventing values. Common limitations include:
- Shopify does not expose all payment settings through the Admin API.
- Carrier-calculated shipping prices remain calculated at external checkout.
- WooCommerce REST does not include WordPress pages without a WordPress Application Password.
- Reviews and bookings require a platform or app API that exposes those resources.
- Product add-ons are mirrored only when the source API has a real equivalent.