# REST Resource: customerLicense

## Resource: CustomerLicense

| JSON representation |
|---|
| ``` { "kind": string, "state": string, "applicationId": string, "editions": [ { object (`https://developers.google.com/workspace/marketplace/reference/rest/v2/customerLicense#Editions`) } ], "id": string, "customerId": string } ``` |

| Fields ||
|---|---|
| `kind` | `string` The type of API resource. This is always `appsmarket#customerLicense`. |
| `state` | `string` The customer's license status. One of: - `ACTIVE`: The customer has a valid license. - `UNLICENSED`: There is no license. Either this customer has never installed your application or has deleted it. |
| `applicationId` | `string` The ID of the application corresponding to this license query. |
| `editions[] (deprecated)` | ``object (`https://developers.google.com/workspace/marketplace/reference/rest/v2/customerLicense#Editions`)`` > [!WARNING] > This item is deprecated! (Deprecated) |
| `id` | `string` The ID of the customer license. |
| `customerId` | `string` The domain name of the customer. |

## Editions

| JSON representation |
|---|
| ``` { "editionId": string, "seatCount": integer, "assignedSeats": integer } ``` |

| Fields ||
|---|---|
| `editionId (deprecated)` | `string` > [!WARNING] > This item is deprecated! (Deprecated) |
| `seatCount (deprecated)` | `integer` > [!WARNING] > This item is deprecated! (Deprecated) |
| `assignedSeats (deprecated)` | `integer` > [!WARNING] > This item is deprecated! (Deprecated) |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/workspace/marketplace/reference/rest/v2/customerLicense/get` | Gets the customer's licensing status to determine if they have access to a given app. |