The REST API is the one of the most important features of this plugin because allows the developers to activate and deactivate licenses through HTTP calls from their software.
How it works
The REST API includes several endpoints for managing licenses, activations, generators, and software (PRO). We will stick to license activations for a while to elaborate on useful use cases that you can utilize for your business.
Imagine you have a specific WordPress plugin, theme, or other software that you developed and want to sell. If you may think about how to distribute updates, license activation here comes Digital License Manager handy.
The REST API allows you to activate each license from your software. Imagine a scenario where a customer purchases specific software product from your store and normally if you use WooCommerce you can configure it to deliver licenses to the customer based on specific order status (Completed, Processing, etc).
After successful purchase, the customer receives the License through the My Account page or via Email. Now using the REST API you can provide a form for License activation in your own software that allows customers to activate the Licenses.
After successful License activation through the form we mentioned in the previous paragraph, the REST API will return activation token that you need to store somewhere securely (database, or other storage) and it will be used for future queries like validate, deactivate or ones mentioned bellow that the PRO version provides.
Software API (PRO)
The above “How it works” section outlines a use case that you can leverage with any version either PRO or FREE/CORE.
The PRO version comes with some goodies like full software management where you can publish releases for your software products that are associated with the products. Once the specific product is purchased, the customer will have access to the software assigned to that product. Sounds nice, right?
Your customers will be able to download the software releases based on their License status (expiration, activation, etc). If you have that activation token that we mentioned in the “How it works” section. You can also check for updates, etc.
You can find more details here.