Admin SDK Google Workspace 經銷商服務
您可以透過 Admin SDK 代銷服務,在 Apps Script 中使用 Admin SDK 代銷 API。這個 API 可讓授權經銷商管理員下單,並管理 月付型訂閱方案。
參考資料
如需這項服務的詳細資訊,請參閱 Admin SDK Reseller API 的參考文件。與 Apps Script 中的所有進階服務一樣,Admin SDK 經銷商服務會使用與公開 API 相同的物件、方法和參數。詳情請參閱「如何決定方法簽章」。
如要回報問題或尋求其他支援,請參閱 Admin SDK 代銷商支援指南。
程式碼範例
下列程式碼範例使用 API 的 第 1 版。
取得訂閱項目清單
這個範例會記錄訂閱項目清單,包括客戶 ID、建立日期、方案名稱和 SKU ID。請注意,您可以使用頁面符記存取完整的結果清單。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-21 (世界標準時間)。
[null,null,["上次更新時間:2024-12-21 (世界標準時間)。"],[[["The Admin SDK Google Workspace Reseller service enables authorized reseller admins to manage Google Workspace subscriptions and place customer orders via Apps Script."],["This advanced service requires prior enabling before use and mirrors the functionality of the Admin SDK Reseller API."],["Comprehensive reference documentation, support resources, and sample code are readily available for developers."],["Sample code showcases how to retrieve and log a list of subscriptions, demonstrating pagination for accessing the complete result set."]]],[]]