licensing 0.54. Reviewed source revision.
add_customer
Create a customer record.Parameters
Result
Returns(response_dict, ''), including the API’s customer fields.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.get_customer_licenses
Retrieve licenses belonging to a customer ID.Parameters
Result
Returns(response_dict, ''). The full response dictionary is returned, not just its list of licenses.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.get_customer_licenses_by_secret
Retrieve licenses using a customer secret you already have.Parameters
Result
Returns(response_dict, ''). The full response dictionary is returned, not just its list of licenses.
Returns (None, message) for API rejection or a handled request failure. Malformed response data can raise an exception.
Checks
The API checks the access token’s permissions. This method does not verify a signed license response. Web API reference.FAQ
How Do I Retrieve an Existing Customer Secret?
How Do I Retrieve an Existing Customer Secret?
Use the GetCustomers Web API with the GetCustomers permission, the customer’s ID and
ModelVersion=2 or 3. This Python SDK does not provide a get_customers wrapper. get_customer_licenses_by_secret uses an existing secret; it does not retrieve the secret.