XCodeSol Restaurant Marketplace Documentation

API

The plugin exposes WordPress REST routes under:

text
/wp-json/xcodesol/v1

Protected endpoints require an authenticated WordPress user with the required capability and a valid XCodeSol Restaurant Marketplace license.

License endpoints

text
GET  /licensing
POST /licensing/activate
POST /licensing/validate
POST /licensing/deactivate

Operations endpoints

The REST namespace includes routes for restaurants, restaurant staff, products, floors, tables, reservations, reservation slots, orders, tracking, checkout context, drivers, delivery assignments, driver locations, kitchen tickets, subscriptions, subscription access, POS sessions, POS transactions, notifications, webhooks, analytics, commissions, payouts, settings, relations, and system health.

Public catalog endpoints

Catalog routes are designed for storefront and QR ordering experiences, but the plugin-level license gate still requires the installation to be activated before the marketplace can operate.

Remote XCodeSol API

Licensing calls are sent to the XCodeSol API:

text
POST /api/activate-license
POST /api/validate-license
POST /api/deactivate-license
POST /api/heartbeat