Skip to content

License

Base URL: https://yoursite.com/wp-json/fluent-affiliate/v2

Endpoints

MethodPathDescription
GET/license/licenseLicenseController::getStatus
POST/license/licenseLicenseController::saveLicense
DELETE/license/licenseLicenseController::deactivateLicense

GET /license/license

LicenseController::getStatus

Auth: WordPress administrator (manage_options)
Controller: LicenseController::getStatus

bash
curl -X GET \
  https://yoursite.com/wp-json/fluent-affiliate/v2/license/license \
  -H "X-WP-Nonce: YOUR_NONCE"

POST /license/license

LicenseController::saveLicense

Auth: WordPress administrator (manage_options)
Controller: LicenseController::saveLicense

bash
curl -X POST \
  https://yoursite.com/wp-json/fluent-affiliate/v2/license/license \
  -H "X-WP-Nonce: YOUR_NONCE"

DELETE /license/license

LicenseController::deactivateLicense

Auth: WordPress administrator (manage_options)
Controller: LicenseController::deactivateLicense

bash
curl -X DELETE \
  https://yoursite.com/wp-json/fluent-affiliate/v2/license/license \
  -H "X-WP-Nonce: YOUR_NONCE"

Released under the GPL-2.0 License.