Create the licenses
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URL
This is used to authenticate the request. If the request is not authenticated, the server will return a 401 Unauthorized response.
YOUR_AUTH_KEY
Contains the data for the license key create form.
The package Id of the license.
The SubscriptionType Id of the license.
The license key custom. If the license key has value, we create with the license otherwise auto generate license code.
The start date of the license.
The end date of the license.
The description of the license.
The tags of the license.
The test mode of the license. By default, it is set to false.
The quantity of the license to create. By default, it is 1.
Is the license key for one quantity.
The user code of the license. If the userCode is empty, we get the current user logged in.
POST /api/v1/licenses HTTP/1.1
Host: protocol.jframework.io
Brand-URL: text
Auth-Key: text
Content-Type: application/json
Accept: */*
Content-Length: 239
{
"packageId": "text",
"subscriptionTypeId": "text",
"type": "1 - Normal",
"key": "text",
"startDate": "2025-06-24T12:13:54.068Z",
"endDate": "2025-06-24T12:13:54.068Z",
"description": "text",
"tags": "text",
"testMode": true,
"quantity": 1,
"userCode": "text"
}
{
"success": true,
"statusCode": 200,
"message": "The request was successful.",
"data": {
"countSuccess": 1
},
"errors": []
}
Last updated
Was this helpful?