Core Store Routes

GET/api/v1/stores
POST/api/v1/stores
DELETE/api/v1/stores/:id
POST/api/v1/stores/:id/reconnect

All queries are merchant-scoped. Create accepts name, HTTPS url, and platform (woocommerce, shopify, or wix). Create, disconnect, and reconnect require owner or admin role.

Platform Authentication

PlatformAuth / ingestionAvailability note
WooCommerceStore-bound plugin key/HMAC; plugin pushes orders and heartbeatsAvailable
ShopifyOAuth 2.0; signed platform webhooksFeature-gated; direct dashboard card is Coming soon; replace the deployment-wide provisioning bearer with verified per-shop context before broad production onboarding
WixOAuth 2.0; webhook-driven previewFeature-gated; production blocked until Wix signed-token verification passes real event fixtures

OAuth Routes

Shopify and Wix install/callback/webhook routes are integration internals whose availability depends on FEATURE_SHOPIFY or FEATURE_WIX. Use an authorised installation flow rather than calling callback or webhook routes manually.

WooCommerce Health

The public connect route supports the legacy public/secret key handshake. The HMAC-authenticated heartbeat updates plugin/WooCommerce/PHP versions and scheduled/admin heartbeat timestamps.