REST Resource: customerLicense

  • 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 get method.

Resource: CustomerLicense

JSON representation
{
  "kind": string,
  "state": string,
  "applicationId": string,
  "editions": [
    {
      object (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 else has deleted it.
applicationId

string

The ID of the application corresponding to this license query.

editions[]
(deprecated)

object (Editions)

(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

(Deprecated)

seatCount
(deprecated)

integer

(Deprecated)

assignedSeats
(deprecated)

integer

(Deprecated)

Methods

get

Gets the status of a license for a customer to determine if they have access for a given app.