Shoppa platform
● Ready. Answers come from OpenAI.
This process serves the streaming chat API, the widget configuration endpoint, and the embeddable widget bundle. The shopper-facing demo runs on the demo store at demo.shoppa.au.
Public endpoints
- POST/api/chat
- POST/api/chat/resume
- POST/api/chat/history
- POST/api/cart/add
- POST/api/cart/view
- POST/api/events/product-click
- GET/api/widget-config?retailerId=harlow
- GET/api/health
- GET/embed/shoppa.js
Photo previews use /api/previews/*. The config API under /api/admin needs a retailer API key.
Retailer integration
Copy these two tags into every page where the assistant should appear.
<script src="https://api.shoppa.au/embed/shoppa.js"></script>
<script>Shoppa.init({ retailerId: "harlow", apiBase: "https://api.shoppa.au" })</script>Paste both tags into the site’s HTML, in this order. Don’t add async or defer: the second tag needs the first to finish loading.
Hosted proof of concept. These APIs are unauthenticated by design. CORS is a browser origin allowlist, not authentication. Do not treat this as a production-safe public API.