Docs
WooCommerce
Paste the REST keys you already create in WordPress. Same JS snippet as any other store. No WooCommerce.com app.
Connect
- In WordPress: WooCommerce → Settings → Advanced → REST API → Add key (Read).
- On the store’s WooCommerce page in Dyotona, paste site URL, consumer key, and consumer secret.
- Sync catalog so products get numeric Woo ids.
Keys are encrypted at rest. You can disconnect anytime.
What keys unlock
- Catalog sync from
/wp-json/wc/v3/products - Native add-to-cart from the widget:
GET /?add-to-cart={id}on the shop origin (the snippet must run on that domain) - Order lookup: order number + billing email
Embed
<script src="https://api.dyotona.com/widget.js" data-token="wgt_YOUR_TOKEN" async> </script>
Hosted stand-in
api.dyotona.com/demo/woo/ is HTML + mock REST (not WordPress). Sample order 1001 / shopper@example.com. Locally the same demo is at http://localhost:4000/demo/woo/.