Method: subscriptions.activate
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
啟用先前遭到經銷商停權的訂閱。
如果您未將客戶的訂閱停權,原因是其他原因 (例如濫用或待處理服務條款) 遭到停權,這次通話不會重新啟用客戶訂閱。
HTTP 要求
POST https://reseller.googleapis.com/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/activate
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
customerId |
string
這可以是客戶的主網域或客戶的專屬 ID。如果客戶的網域名稱改變,就無法再使用舊網域名稱存取客戶,但仍然可以使用客戶的專屬 ID (也就是 API 傳回的 ID)。建議您將專屬 ID 儲存在系統中 (如適用)。
|
subscriptionId |
string
這是必要屬性。subscriptionId 是訂閱項目 ID,且每位客戶不得重複。由於 subscriptionId 會在更新訂閱項目時變更,因此建議您不要使用這個 ID 做為永久資料的金鑰。使用擷取所有經銷商訂閱項目方法即可找到 subscriptionId 。
|
回應主體
如果成功,回應主體會包含 Subscription
的執行例項。
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/apps.order
詳情請參閱授權指南。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-06-27 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{
"last_modified": "上次更新時間:2023-06-27 (世界標準時間)。",
"state": ""
}