Installation & Setup
Features
Events
Permissions
Updating FaxStore
Secondary Payments
Extensions
[EXT] License System
API
Weblutions Docs > FaxStore > [EXT] License System > Integration
Integration
This section covers the backend API calls for the license system along with validating the product(s) you wish to authorise.
Contents:
Single Request
POST /api/check/:PRODUCT_ID
Check a single license key against the system to confirm it complies with all its set conditions and that it's valid.
Parameters:
PRODUCT_ID | [URL] the FaxStore item product ID |
Authorization | [Header] The license key to check/authorise |
info | [Body] Additional notes to send with the request |
log | [Body] Whether to log the license request or not, by default all requests are logged |
Response: [Expand]
200 = {
status: "AUTHORISED",
pass: true,
details: `Authorisation completed - https://license.example.com`
}
Multiple Request
Make an API call to the license system to see if a key matches any of an array of items.
POST /api/check/multiple
Check a single license key against the system to confirm it complies with all its set conditions and that it's valid.
This method allows for multiple products to be provided if any have the matching license key it authorises.
Parameters:
Authorization | [Header] The license key to check/authorise |
proIds | [Body] An array of product IDs to have checked |
info | [Body] Additional notes to send with the request |
log | [Body] Whether to log the license request or not, by default all requests are logged |
Response: [Expand]
200 = {
status: "AUTHORISED",
pass: true,
details: `Authorisation completed - https://license.example.com`
}
V1 Request
Type: POST
URL: 'https://license.your.domain/api/checkitem/PRODUCT_ID'
Headers:
User-Agent: '*'
Accept: 'application/json, text/plain, */*'
authorization: USERS_LICENSE_KEY
Review this page
2 recommend this page