Use the LeisureNexus API and webhooks
A short tour of the developer API — keys, scopes, endpoints and webhooks — with links to the full developer documentation.
What it's for
Connect your website, app, BI tool or other software to LeisureNexus: items with store prices, stock, customers, sales and refunds, and wholesale orders — plus signed webhooks when things happen.
In the back office
Point of sale → Developer API:
- New API key: name, what it can do (scopes), default store and requests per minute. The
lnk_key is shown once. - Webhooks → Add: your HTTPS address and the events to send. The
whsec_secret is shown once. Send test, Recent deliveries and Send again.
App marketplace
Partners can list apps in the LeisureNexus app marketplace. A business sees what each app can read, change and be told about, and approves it; the app then swaps a one-time code for its own API key and webhook secret (POST /v1/apps/token). Removing an app revokes its access at once and sends app.uninstalled. Paid apps go on the business's monthly LeisureNexus bill. Contact us to list an app.
Developer documentation
| Guide | Covers |
|---|---|
| API overview and quick start | Base URL, conventions, first request |
| API keys and scopes | Creating, scoping, rotating and revoking keys |
| Requests, paging, errors and rate limits | Paging, sorting, every error code, limits |
| Endpoint reference | Every endpoint with examples |
| Webhooks | Events, signature checking in Node, PHP and Python, retries |
| API recipes | Website catalog sync, stock, loyalty, sign-ups, exports, B2B orders |
Never put an API key in a web page or mobile app — call the API from your server.
Still stuck? Email support@leisurenexus.com or send us a message — we're happy to help.