Validate Customer Licenses(Pro)

Estimated reading: 1 minute 130 views

DESCRIPTION

Get customer’s licenses by customer’s id which licenses assigned to customer

REQUEST URL

GET

wp-json/lmfwc/v2/customers/1/licenses

image21

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

        }
Share this Doc

Validate Customer Licenses(Pro)

Or copy link

CONTENTS
Scroll to Top