1. Home
  2. Docs
  3. WooCommerce License Keys
  4. API
  5. Basics

Basics

WooCommerce License Keys comes built-in with a RESTFul API validator that will allow to validate licensed products remotely using HTTP requests.

How it works?

The API is mounted using WordPress AJAX core functionality, which allows for background requests and responses between applications.

WordPress using the Ajax functionality, will provide the API under a base url, which can be obtain in the documentation section of “Dashboard” -> “WooCommerce” -> “Settings” -> “Advanced” -> “License Keys API”:

https://www.domain.com/wp-admin/admin-ajax.php

WooCommerce License Keys provides 3 endpoints, one for remote activations, another for remote validations and the last one for remote deactivations.

The plugin comes with a small documentation that can be accessible in the License Key API settings.

Endpoints

Use the API’s base URL, described above, to call to any of these endpoints:

Was this article helpful to you? Yes No