Google Workspace Reseller API

大量執行 Channel Services 主控台提供的常用功能,例如下單和查看客戶資訊

服務:reseller.googleapis.com

如要呼叫這項服務,建議您使用 Google 提供的用戶端程式庫。如果您的應用程式需要使用您自己的程式庫來呼叫這項服務,請在發出 API 要求時使用下列資訊。

探索文件

探索文件是一種機器可解讀的規格,用於說明和使用 REST API。此文件用於建構用戶端程式庫、IDE 外掛程式,以及與 Google API 互動的其他工具。一項服務可能會提供多個探索文件。這項服務提供下列探索文件:

服務端點

服務端點是指定 API 服務網路位址的基準網址。一項服務可能有多個服務端點。這項服務有以下服務端點,且下方的 URI 皆以此服務端點為基準:

  • https://reseller.googleapis.com

REST 資源:v1.customers

方法
get GET /apps/reseller/v1/customers/{customerId}
取得客戶帳戶。
insert POST /apps/reseller/v1/customers
訂購新客戶帳戶。
patch PATCH /apps/reseller/v1/customers/{customerId}
更新客戶帳戶的設定。
update PUT /apps/reseller/v1/customers/{customerId}
更新客戶帳戶的設定。

REST 資源:v1.resellernotify

方法
getwatchdetails GET /apps/reseller/v1/resellernotify/getwatchdetails
傳回與經銷商相對應的錶款所有詳細資料。
register POST /apps/reseller/v1/resellernotify/register
註冊經銷商以接收通知。
unregister POST /apps/reseller/v1/resellernotify/unregister
取消註冊經銷商,以停止接收通知。

REST 資源:v1.subscriptions

方法
activate POST /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/activate
啟用經銷商先前停用的訂閱項目。
changePlan POST /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changePlan
更新訂閱方案。
changeRenewalSettings POST /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings
更新使用者授權的續約設定。
changeSeats POST /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeSeats
更新訂閱的使用者授權設定。
delete DELETE /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}
取消、暫停或轉移訂閱項目。
get GET /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}
取得特定訂閱項目。
insert POST /apps/reseller/v1/customers/{customerId}/subscriptions
建立或轉移訂閱項目。
list GET /apps/reseller/v1/subscriptions
經銷商管理的訂閱項目清單。
startPaidService POST /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/startPaidService
立即將 30 天免費試用訂閱轉換為付費服務訂閱。
suspend POST /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/suspend
暫停有效的訂閱項目。