Developer documentation

Generate Licenses (Pro)

Estimated reading: 1 minute 3869 views

DESCRIPTION

Generate generators by generator  ID. The response contains the generated keys.

REQUEST URL

POST

/wp-json/lmfwc/v2/generators/1/generate

REQUEST HEADERS

Content-Type: application/json

REQUEST BODY:

{
  "amount": 6,
  "save": true,
  "status": "active",
  "order_id": null,
  "product_id": 25,
  "user_id": 1
}

RESPONSE EXAMPLE

{

“success”: true,

“data”: [

“ve-le-lv-pe-eD-ve-De-re”,

“er-vr-lv-le-ep-pe-Dv-De”,

“le-ee-eD-oo-re-pD-lo-lp”,

“De-ep-or-er-rp-Dv-Dv-ep”,

“vD-ee-De-er-ev-ee-er-lv”,

“ee-ee-eD-le-rl-vv-pe-le”

]

}
Scroll to Top
license manager plugin
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.