Support product_id in License Activation API
Could you consider adding an optional product_id parameter to the License Activation API (POST /licenses/activate)?
Currently, activation accepts the license_key and instance/device name, while the associated product information is returned only after the license has already been activated.
It would be useful to activate a license specifically for an expected product, for example:
{ "license_key": "XXXX-XXXX-XXXX", "name": "device-id", "product_id": "pdt_xxx"}
Dodo could then verify that the license belongs to that product before creating the activation.
Without this, if a user accidentally enters a valid license belonging to another product, the activation succeeds first and may consume an activation slot. The application then has to inspect the returned product ID and deactivate the instance afterward.
0 Comments
Sign in to comment
No comments yet. Be the first to share your thoughts!
