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 status of a license for a customer to determine if they have access for a given app.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
applicationId

string

Application Id

customerId

string

Customer Id

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.