Management API
License
Change Order on License
4min
Change order on license.
URL: /api/v1/licenses/{id}/
Method: PATCH
- order - Integer
JSON
|
{ "order": 1593781720493279 }
Code: 200 OK
JSON
|
"id": 1593781720493289, "status": "Inactive", "floating_in_use_devices": 0, "customer": { "id": 620, "total_orders": 14, "total_licenses": 45, "labels": [ { "id": 3, "label_id": 8, "label": "Customer", "color": "#ff9f43" }, { "id": 53, "label_id": 34, "label": "Loyal", "color": "#3a0cd4" } ], "email": "tc@tc.com", "first_name": "", "last_name": "", "company_name": "", "phone": "", "reference": "", "address": "", "postcode": "", "city": "", "country": "", "state": "", "cognito_user_pool_id": "", "metadata": {}, "clabels_all": "customerloyal", "company": 277, "license_user": null, "clabels": [ 8, 34 ] }, "product_features": [ { "id": 1596179495925542, "product_feature": { "id": 173, "created_at": "2020-09-14T11:17:43Z", "updated_at": "2020-09-14T11:17:43Z", "name": "Feature 3", "code": "f3", "is_deleted": false, "feature_type": "consumption", "max_consumption": 2, "allow_overages": false, "max_overages": 0, "reset_consumption": false, "consumption_period": null }, "max_consumption": 30, "total_consumptions": 0, "expiry_date": null, "allow_overages": false, "max_overages": 99, "reset_consumption": false, "consumption_period": null, "metadata": {} } ], "product_custom_fields": [], "license_users": [ { "id": 1240, "last_login": null, "email": "example@email.com|uss1", "true_email": "example@email.com", "created_at": "2020-08-12T08:52:32Z", "updated_at": "2020-08-12T09:01:24Z", "is_admin": {}, "is_active": true, "is_staff": false, "first_name": "John", "last_name": "Doe", "phone_number": "00385913109161", "subscribed_to_email": false, "acquired_consent": null, "is_manager": false, "initial_password": "4q3dg7!_", "is_initial_password": true } ], "order_store_id": "d2d2dce02c844d4492c9d48758aa143a", "active_up_to_date_devices": 0, "total_active_devices": 0, "product": { "id": 1584723961091234, "product_name": "mch" }, "created_at": "2020-07-03T13:08:40Z", "updated_at": "2020-11-13T07:38:16.788576Z", "license_key": null, "active": false, "enabled": true, "time_activated": "2020-10-10T14:42:16Z", "time_disabled": "2020-08-14T07:26:27Z", "max_activations": 5, "times_activated": 0, "valid_duration": null, "validity_period": "2020-09-30", "license_type": "perpetual", "enable_maintenance_period": true, "maintenance_duration": "3m", "maintenance_period": "2021-01-10", "is_trial": true, "max_consumptions": 0, "total_consumptions": 0, "subscription_id": null, "last_check": null, "prevent_vm": true, "allow_overages": false, "max_overages": 0, "reset_consumption": false, "consumption_period": null, "trial_days": 0, "is_floating": false, "is_floating_cloud": true, "floating_users": 1, "note": null, "max_license_users": 0, "transfer_count": 0, "floating_timeout": null, "max_transfers": 0, "is_air_gapped": false, "can_borrow": false, "max_borrow_time": 0, "is_bundle": false, "metadata": {}, "order": 1593781720493279, "order_item": 1593781720493299, "disabled_user": null, "last_activation_device": null }


Updated 05 Sep 2023
Did this page help you?