Method: customerLicense.get

取得顧客的授權狀態,判斷他們是否有權存取特定應用程式。詳情請參閱「取得應用程式安裝和授權的詳細資料」。

HTTP 要求

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

這個網址使用 gRPC 轉碼語法。

路徑參數

參數
applicationId

string

應用程式的編號。

customerId

string

顧客 ID。

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體會包含 CustomerLicense 的執行個體。

授權範圍

需要下列 OAuth 範圍:

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

詳情請參閱授權指南