Validate Customer Licenses(Pro)
DESCRIPTION
Get customer’s licenses by customer’s id which licenses assigned to customer
REQUEST URL
GET
wp-json/lmfwc/v2/customers/1/licenses
RESPONSE EXAMPLE:
{
“success”: true,
“data”: [
{
“id”: 70,
“orderId”: 171,
“productId”: 20,
“userId”: 1,
“licenseKey”: “API-OIQ-MOM-AAA-AAA-MIO-ATA-GEN”,
“expiresAt”: “2022-08-18 07:01:42”,
“validFor”: 15,
“source”: 3,
“status”: 1,
“timesActivated”: null,
“timesActivatedMax”: 3,
“createdAt”: “2022-08-03 06:55:15”,
“createdBy”: 1,
“updatedAt”: “2022-08-03 07:01:42”,
“updatedBy”: 1
},
{
“id”: 71,
“orderId”: 171,
“productId”: 20,
“userId”: 1,
“licenseKey”: “API-MNA-AUA-AMT-OIA-AAA-OAT-GEN”,
“expiresAt”: “2022-08-18 07:01:42”,
“validFor”: 15,
“source”: 3,
“status”: 1,
“timesActivated”: null,
“timesActivatedMax”: 3,
“createdAt”: “2022-08-03 06:55:15”,
“createdBy”: 1,
“updatedAt”: “2022-08-03 07:01:42”,
“updatedBy”: 1
},
{
“id”: 72,
“orderId”: 171,
“productId”: 20,
“userId”: 1,
“licenseKey”: “API-OOU-AOA-OAT-UOT-OTN-TOA-GEN”,
“expiresAt”: “2022-08-18 07:01:42”,
“validFor”: 15,
“source”: 3,
“status”: 1,
“timesActivated”: null,
“timesActivatedMax”: 3,
“createdAt”: “2022-08-03 06:55:15”,
“createdBy”: 1,
“updatedAt”: “2022-08-03 07:01:42”,
“updatedBy”: 1
}