Method: customerLicense.get

  • Retrieves the license status for a specific customer to check if they have access to a particular application.

  • The request is made using an HTTP GET method to a designated URL with parameters for application ID and customer ID.

  • The response provides details regarding the customer's license through the CustomerLicense object if the request is successful.

  • Authorization is needed using the https://www.googleapis.com/auth/appsmarketplace.license scope.

Gets the customer's licensing status to determine if they have access to a given app. For more information, see Getting app installation and licensing details.

HTTP request

GET https://appsmarket.googleapis.com/appsmarket/v2/customerLicense/{applicationId}/{customerId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
applicationId

string

The ID of the application.

customerId

string

The ID of the customer.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of CustomerLicense.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/appsmarketplace.license

For more information, see the Authorization guide.