AI-generated Key Takeaways
-
The CustomerLicense resource provides information about a customer's license status for a specific application.
-
It includes details such as the license state (ACTIVE or UNLICENSED), application ID, customer ID, and license ID.
-
The Editions section within the resource, containing editionId, seatCount, and assignedSeats, is deprecated.
-
You can retrieve the license status for a customer using the
getmethod.
Resource: CustomerLicense
| JSON representation |
|---|
{
"kind": string,
"state": string,
"applicationId": string,
"editions": [
{
object ( |
| Fields | |
|---|---|
kind |
The type of API resource. This is always appsmarket#customerLicense. |
state |
The customer's license status. One of:
|
applicationId |
The ID of the application corresponding to this license query. |
editions[] |
(Deprecated) |
id |
The ID of the customer license. |
customerId |
The domain name of the customer. |
Editions
| JSON representation |
|---|
{ "editionId": string, "seatCount": integer, "assignedSeats": integer } |
| Fields | |
|---|---|
editionId |
(Deprecated) |
seatCount |
(Deprecated) |
assignedSeats |
(Deprecated) |
Methods |
|
|---|---|
|
Gets the status of a license for a customer to determine if they have access for a given app. |