Google Workspace Reseller API
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ดำเนินการตามฟังก์ชันทั่วไปที่มีอยู่ในคอนโซลบริการช่องทางขายในวงกว้าง เช่น สั่งซื้อสินค้าและดูข้อมูลลูกค้า
บริการ: reseller.googleapis.com
หากต้องการเรียกใช้บริการนี้ เราขอแนะนำให้คุณใช้ไลบรารีไคลเอ็นต์ที่ Google มีให้ หากแอปพลิเคชันของคุณต้องใช้ไลบรารีของคุณเองเพื่อเรียกใช้บริการนี้ ให้ใช้ข้อมูลต่อไปนี้เมื่อส่งคำขอ API
เอกสารการค้นพบ
เอกสาร Discovery คือข้อกำหนดเฉพาะที่เครื่องอ่านได้สำหรับอธิบายและใช้ REST API โดยใช้ในการสร้างไลบรารีของไคลเอ็นต์ ปลั๊กอิน IDE และเครื่องมืออื่นๆ ที่โต้ตอบกับ Google API บริการหนึ่งๆ อาจให้เอกสารการค้นพบได้หลายรายการ บริการนี้มีเอกสารการค้นพบต่อไปนี้
ปลายทางของบริการ
ปลายทางบริการคือ URL พื้นฐานที่ระบุที่อยู่เครือข่ายของบริการ API บริการหนึ่งๆ อาจมีปลายทางบริการหลายรายการ บริการนี้มีปลายทางบริการดังต่อไปนี้ และ URI ทั้งหมดด้านล่างจะเกี่ยวข้องกับปลายทางบริการนี้
https://reseller.googleapis.com
เมธอด |
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}
อัปเดตการตั้งค่าบัญชีลูกค้า |
เมธอด |
getwatchdetails |
GET /apps/reseller/v1/resellernotify/getwatchdetails
แสดงรายละเอียดทั้งหมดของนาฬิกาที่เกี่ยวข้องกับตัวแทนจำหน่าย |
register |
POST /apps/reseller/v1/resellernotify/register
ลงทะเบียนตัวแทนจำหน่ายเพื่อรับการแจ้งเตือน |
unregister |
POST /apps/reseller/v1/resellernotify/unregister
ยกเลิกการลงทะเบียนตัวแทนจำหน่ายเพื่อรับการแจ้งเตือน |
เมธอด |
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
ระงับการสมัครใช้บริการที่ใช้งานอยู่ |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# Google Workspace Reseller API\n\nPerform common functions that are available on the Channel Services console at scale, like placing orders and viewing customer information\n\n- [REST Resource: v1.customers](#v1.customers)\n- [REST Resource: v1.resellernotify](#v1.resellernotify)\n- [REST Resource: v1.subscriptions](#v1.subscriptions)\n\nService: reseller.googleapis.com\n--------------------------------\n\nTo call this service, we recommend that you use the Google-provided [client libraries](https://cloud.google.com/apis/docs/client-libraries-explained). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://reseller.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://reseller.googleapis.com`\n\nREST Resource: [v1.customers](/workspace/admin/reseller/reference/rest/v1/customers)\n------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|\n| [get](/workspace/admin/reseller/reference/rest/v1/customers/get) | `GET /apps/reseller/v1/customers/{customerId}` Gets a customer account. |\n| [insert](/workspace/admin/reseller/reference/rest/v1/customers/insert) | `POST /apps/reseller/v1/customers` Orders a new customer's account. |\n| [patch](/workspace/admin/reseller/reference/rest/v1/customers/patch) | `PATCH /apps/reseller/v1/customers/{customerId}` Updates a customer account's settings. |\n| [update](/workspace/admin/reseller/reference/rest/v1/customers/update) | `PUT /apps/reseller/v1/customers/{customerId}` Updates a customer account's settings. |\n\nREST Resource: [v1.resellernotify](/workspace/admin/reseller/reference/rest/v1/resellernotify)\n----------------------------------------------------------------------------------------------\n\n| Methods ||\n|-----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| [getwatchdetails](/workspace/admin/reseller/reference/rest/v1/resellernotify/getwatchdetails) | `GET /apps/reseller/v1/resellernotify/getwatchdetails` Returns all the details of the watch corresponding to the reseller. |\n| [register](/workspace/admin/reseller/reference/rest/v1/resellernotify/register) | `POST /apps/reseller/v1/resellernotify/register` Registers a Reseller for receiving notifications. |\n| [unregister](/workspace/admin/reseller/reference/rest/v1/resellernotify/unregister) | `POST /apps/reseller/v1/resellernotify/unregister` Unregisters a Reseller for receiving notifications. |\n\nREST Resource: [v1.subscriptions](/workspace/admin/reseller/reference/rest/v1/subscriptions)\n--------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [activate](/workspace/admin/reseller/reference/rest/v1/subscriptions/activate) | `POST /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/activate` Activates a subscription previously suspended by the reseller. |\n| [changePlan](/workspace/admin/reseller/reference/rest/v1/subscriptions/changePlan) | `POST /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changePlan` Updates a subscription plan. |\n| [changeRenewalSettings](/workspace/admin/reseller/reference/rest/v1/subscriptions/changeRenewalSettings) | `POST /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeRenewalSettings` Updates a user license's renewal settings. |\n| [changeSeats](/workspace/admin/reseller/reference/rest/v1/subscriptions/changeSeats) | `POST /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeSeats` Updates a subscription's user license settings. |\n| [delete](/workspace/admin/reseller/reference/rest/v1/subscriptions/delete) | `DELETE /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}` Cancels, suspends, or transfers a subscription to direct. |\n| [get](/workspace/admin/reseller/reference/rest/v1/subscriptions/get) | `GET /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}` Gets a specific subscription. |\n| [insert](/workspace/admin/reseller/reference/rest/v1/subscriptions/insert) | `POST /apps/reseller/v1/customers/{customerId}/subscriptions` Creates or transfer a subscription. |\n| [list](/workspace/admin/reseller/reference/rest/v1/subscriptions/list) | `GET /apps/reseller/v1/subscriptions` Lists of subscriptions managed by the reseller. |\n| [startPaidService](/workspace/admin/reseller/reference/rest/v1/subscriptions/startPaidService) | `POST /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/startPaidService` Immediately move a 30-day free trial subscription to a paid service subscription. |\n| [suspend](/workspace/admin/reseller/reference/rest/v1/subscriptions/suspend) | `POST /apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/suspend` Suspends an active subscription. |"]]