DESCRIPTION
Checks the current activation status of a license key. The response will contain the number of activations, the maximum activation count, and the remaining activations.
REQUEST URL
GET
/wp-json/lmfwc/v2/licenses/validate/{license_key}
RESPONSE EXAMPLE:
{
“success”: true,
“data”: {
“timesActivated”: 1,
“timesActivatedMax”: 3,
“remainingActivations”: 2,
“product”: {
“id”: 20,
“sku”: “s378”,
“name”: “Ham”,
“price”: “25”,
“salePrice”: “”,
“description”: “Our classic ham‡ sub, in a kid-friendly mini version, packed with all their favourite fresh salad and sauces. With a choice of a Robinsons Fruit Shoot, water or dispensed drink. Plus a yummy Bear Yoyo, and a brain-boosting activity”,
“shortDescription”: “”,
“availability”: {
“availability”: “”,
“class”: “in-stock”
},
“catalogVisibility”: “visible”,
“permalink”: “http://wpexperts.local/product/ham/”,
“type”: “simple”
}
}
}