Method: customers.insert
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
नए ग्राहक के खाते का ऑर्डर देता है.
नया ग्राहक खाता ऑर्डर करने से पहले, customers.get
का इस्तेमाल करके पता लगाएं कि ग्राहक खाता पहले से मौजूद है या नहीं
अगर ग्राहक खाता, सीधे Google खाते के तौर पर मौजूद है या किसी दूसरे रीसेलर से फिर से बेचा गया ग्राहक खाता है, तो customerAuthToken\
का इस्तेमाल करें. इसके बारे में मौजूदा ग्राहक के लिए, फिर से बेचा गया खाता ऑर्डर करना में बताया गया है. नया ग्राहक खाता ऑर्डर करने के बारे में ज़्यादा जानने के लिए, नया ग्राहक खाता ऑर्डर करना लेख पढ़ें.
नया ग्राहक खाता बनाने के बाद, आपको किसी उपयोगकर्ता को एडमिन के तौर पर जोड़ना होगा. खाता चालू करने के लिए, ग्राहक के एडमिन को Admin console में साइन इन करना होगा. साथ ही, रीसेलर के ज़रिए G Suite के कानूनी समझौते पर हस्ताक्षर करने होंगे. रीसेलर, ग्राहक की ओर से G Suite के रीसेलर कानूनी समझौते पर हस्ताक्षर नहीं कर सकते. ज़्यादा जानकारी के लिए, नया ग्राहक खाता ऑर्डर करना लेख पढ़ें.
एचटीटीपी अनुरोध
POST https://reseller.googleapis.com/apps/reseller/v1/customers
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
क्वेरी पैरामीटर
पैरामीटर |
customerAuthToken |
string
customerAuthToken क्वेरी स्ट्रिंग तब ज़रूरी होती है, जब कोई ऐसा रीसेल किया गया खाता बनाया जा रहा हो जो सीधे ग्राहक की सदस्यता को ट्रांसफ़र करता हो या किसी दूसरे रीसेलर के ग्राहक की सदस्यता को आपके रीसेलर मैनेजमेंट में ट्रांसफ़र करता हो. यह पुष्टि करने वाला हेक्साडेसिमल टोकन है. सदस्यता ट्रांसफ़र करने के लिए, इसकी ज़रूरत होती है. ज़्यादा जानकारी के लिए, एडमिन सहायता केंद्र पर जाएं.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में Customer
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में Customer
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/apps.order
ज़्यादा जानकारी के लिए, अनुमति से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# Method: customers.insert\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nOrders a new customer's account.\n\nBefore ordering a new customer account, establish whether the customer account already exists using the [`customers.get`](https://developers.google.com/workspace/admin/reseller/v1/reference/customers/get)\n\nIf the customer account exists as a direct Google account or as a resold customer account from another reseller, use the `customerAuthToken\\` as described in [order a resold account for an existing customer](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_customers#create_existing_customer). For more information about ordering a new customer account, see [order a new customer account](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_customers#create_customer).\n\nAfter creating a new customer account, you must provision a user as an administrator. The customer's administrator is required to sign in to the Admin console and sign the G Suite via Reseller agreement to activate the account. Resellers are prohibited from signing the G Suite via Reseller agreement on the customer's behalf. For more information, see [order a new customer account](https://developers.google.com/workspace/admin/reseller/v1/how-tos/manage_customers#tos).\n\n### HTTP request\n\n`POST https://reseller.googleapis.com/apps/reseller/v1/customers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customerAuthToken` | `string` The `customerAuthToken` query string is required when creating a resold account that transfers a direct customer's subscription or transfers another reseller customer's subscription to your reseller management. This is a hexadecimal authentication token needed to complete the subscription transfer. For more information, see the [administrator help center](//support.google.com/a/bin/answer.py?answer=142336). |\n\n### Request body\n\nThe request body contains an instance of [Customer](/workspace/admin/reseller/reference/rest/v1/customers#Customer).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Customer](/workspace/admin/reseller/reference/rest/v1/customers#Customer).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/apps.order`\n\nFor more information, see the [Authorization guide](/workspace/guides/configure-oauth-consent)."]]