LimeLM
wyBuild
Support forum
wyDay blog
wyDay Home

limelm.prod.create

Create a new product in your LimeLM account.

Arguments

api_key (Required)
Your API application key. Your api key is available on your settings page.
prod_name (Required)
The name of the product. Maximum 255 characters.
vers_name (Required)
The name of the version. Maximum 255 characters.
trial_length (Optional)
How long you want the timed trial to last for new customers of this product version. Set to “0” for no trial. The default for trial_length is 0.
where_is_pkey (Required)
A short description of where the customer can find their product key. This is used in the TurboActivate wizard. Maximum 2048 characters.
buy_link (Required)
Where your customers can purchase your software. This link used in the TurboActivate wizard. Maximum 2048 characters.

Example Response

The method returns the product id and the version id that have been created.

<product id="13" ver_id="42"/>

Error Codes

100: Invalid API Key
The API key passed was not valid or has expired.
101: Method "xxx" not found
The requested method was not found.
164: An API key must be used by a single device.
You can only use an API key from a single device. If you need to use the web API from multiple servers then create another user. You can also temporarily reset this message by logging into the account for which the API key is created and resetting the last used IP address on your settings page.
168: LimeLM web API only supports POST over HTTPS.
All web API functions must be used over HTTPS using POST. Described in the web API overview.
118: Your account is in dormant mode. Re-enable your account.
You cannot generate product keys when your account is in dormant mode. Re-enable your account and you will no longer get this error.
125: The "name" parameter must exist and it must be less than 255 characters long.
Make sure your version name is greater than 0 characters and less than 255.
142: Service currently unavailable
The requested service is temporarily unavailable.
166: You do not have permission to create, remove, or edit products and versions. Contact your account administrator(s).
You need to ask an admin to give you permission to create / edit / remove products and versions.
170: You must enter where to find the product key.
You must supply the "where_is_pkey" parameter even if you're not using the TurboActivate wizard.
171: You must enter the purchase site for this version of your product.
You must supply the "buy_link" parameter even if you're not using the TurboActivate wizard.
172: Enter a valid url (e.g. https://example.com/buy/ )
The "buy_link" parameter must be a valid URL.
169: This version name already exists in this product.
Even version in a product must have a unique name.