Developer documentation

Generate Licenses (Pro)

Estimated reading: 1 minute 1425 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