limelm.pkey.setDetails
Sets the product key details including total allowed activations, email address, and all features for the product key.
Arguments
api_key(Required)- Your API application key. Your api key is available on your settings page.
pkey_id(Required)- The id of the product key.
num_acts(Optional)- The number of activations the product key will have.
email(Optional)- An email to associate with the product key.
feature_name[](Optional)- One or more features to associate with the product keys.
feature_value[](Optional)- The values to associate with the feature names. The number of values must match the number of feature names.
Example Response
This method has no specific response - It returns an empty success response if it completes without error.
Error Codes
1: Product key not found.- No product keys found pkey_id supplied.
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.
110: You only have N activations left in your plan.- You have requested more activations than you have left in your plan. Upgrade your account for more activations.
111: You have no more activations left in your plan.- There are no more activations in your account. Upgrade your account for more activations.
116: There must be equal amount of features as feature values.- You have specified more
feature_name[]values thanfeature_value[]values (or vice versa). There must be an equal number offeature_name[]asfeature_value[]. 117: You must enter a value for the feature "feature name". It's a required feature.- There's a required feature that you've forgotten to set. Either set the feature or mark the feature as not required.
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.
120: The number of activations allowed must be less than or equal to the used activations.- Make sure
num_actsis greater than or equal to the number of used activations for the product key. 142: Service currently unavailable- The requested service is temporarily unavailable.