List Licenses
URL : /api/v1/licenses/
Method : GET
Query parameters
Ordering
order_by- Which attribute to order the list by.default ordering is ascending, can be made descending by prefixing the attribute name with
-Example:
order_by=created_atExample:
order_by=-created_at
Pagination
Default pagination is 20 results per page.
limit- Number of results to return per page.Example:
limit=20
offset- The initial index from which to return the results.Example:
offset=21
Filtering
The results can be filtered by various attributes on license or related to the license.
If available, additional suffixes can be appended to attributes which further define the filter:
__startswith- string value is a starting substring of the attribute__icontains- string value is a substring of the attribute (case insensitive)
Possible filters:
id__in- Comma separated list of ids.Example:
id__in=1593781774572379,1597395059215709,1597395059216729
license_keylicense_key__startswithlicense_key__icontainsorder__store_idorder__store_id__startswithorder__store_id__icontainscompanycustomer_idcustomer_emailcustomer_email__icontainscustomer_company_name__icontainscustomer__reference__icontainscustomer_name__icontainsproduct_idproduct_name__icontainsnote__icontainslicense_users__idlicense_users__true_emaillicense_users__true_email__icontainsproduct_features__idlicense_key__isnullis_any_floatingvalidity_period__gtvalidity_period__gtevalidity_period__ltvalidity_period__ltetime_activated__gttime_activated__gtetime_activated__lttime_activated__ltetime_activated__date__gttime_activated__date__gtetime_activated__date__lttime_activated__date__lteupdated_at__gtupdated_at__gteupdated_at__ltupdated_at__lteupdated_at__date__gtupdated_at__date__gteupdated_at__date__ltupdated_at__date__lteenabledmanager__true_emailmanager__true_email__icontainscustomer__accountcustomer__account__namecustomer__account__name__icontainscustomer__account__codecustomer__account__code__icontainscustomer__account__descriptioncustomer__account__description__icontainscustomer__account__phonecustomer__account__phone__icontainscustomer__account__addresscustomer__account__address__icontainscustomer__account__emailcustomer__account__email__icontainscustomer__account__referencecustomer__account__reference__icontainssubscription_idlicense_template__codelicense_template__code__icontainslicense_user_group
Success Response
Code : 200 OK
Content examples :
Last updated
Was this helpful?