| Option | Base URL | Where your integration runs |
|---|---|---|
| OnPremise | http://127.0.0.1:64110/api/eazybusiness/ | On the merchant’s machine or their local network |
| Cloud | https://api.jtl-cloud.com/erp/ | Anywhere. The request is forwarded to the merchant’s Wawi |
- where your integration can be deployed
- how authentication works
- a small set of variant-specific capabilities
Authentication
The authentication flow depends on the variant. Cloud uses OAuth 2.0 client credentials; OnPremise uses a two-step registration flow.- Cloud
- OnPremise
Register in the Partner Portal
Register your app in the JTL Partner Portal to receive a
clientId and clientSecret.Request an access token
Send a POST request to
https://auth.jtl-cloud.com/oauth2/token with Basic auth (base64 clientId:clientSecret) and body grant_type=client_credentials. The response returns a JWT access token valid for one hour.Required HTTP Headers
Every API request must include the headers below:- Cloud
- OnPremise
| Header | Description |
|---|---|
Authorization | Bearer <JWT> obtained from the OAuth 2.0 token endpoint |
X-Tenant-ID | The merchant’s tenant ID |
Next Steps
Available APIs
A guided tour of the REST API domains and what each one does.
Authentication
Auth flows across Cloud Apps, OnPremise, and SCX.
API Reference
Browse all REST API endpoints with request/response schemas.