generate_license
Create a new activation key for a product and email it to the customer. Specify product, plan, and validity period to issue the correct license.
Instructions
Generate a new activation key for a product. The license key will be created and can be sent to the customer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Customer email address | ||
| planId | No | Optional plan ID to determine validity period and features | |
| productName | Yes | Name of the product to generate the license for (must match exactly) | |
| validityDays | No | Number of days the license is valid. If not specified, uses product default. Use 0 for perpetual. |