Method: customers.insert
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Yeni bir müşteri hesabı sipariş eder.
Yeni bir müşteri hesabı sipariş etmeden önce customers.get
Müşteri hesabı doğrudan Google hesabı veya başka bir bayinin yeniden sattığı müşteri hesabı olarak mevcutsa customerAuthToken\
'yi mevcut bir müşteri için yeniden satılan hesap sipariş etme bölümünde açıklandığı şekilde kullanın. Yeni müşteri hesabı siparişi verme hakkında daha fazla bilgi için yeni müşteri hesabı siparişi verme başlıklı makaleyi inceleyin.
Yeni bir müşteri hesabı oluşturduktan sonra bir kullanıcıyı yönetici olarak yapılandırmanız gerekir. Hesabı etkinleştirmek için müşterinin yöneticisinin Yönetici Konsolu'nda oturum açması ve Bayi sözleşmesi üzerinden G Suite'i imzalaması gerekir. Bayilerin, müşteri adına Bayi Sözleşmesi aracılığıyla G Suite'i imzalaması yasaktır. Daha fazla bilgi için yeni müşteri hesabı sipariş etme başlıklı makaleyi inceleyin.
HTTP isteği
POST https://reseller.googleapis.com/apps/reseller/v1/customers
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Sorgu parametreleri
Parametreler |
customerAuthToken |
string
Doğrudan müşterinin aboneliğini aktaran veya başka bir bayi müşterisinin aboneliğini bayi yönetiminize aktaran bir yeniden satış hesabı oluştururken customerAuthToken sorgu dizesi gereklidir. Bu, abonelik aktarımını tamamlamak için gereken on altılık bir kimlik doğrulama jetonudur. Daha fazla bilgi için yönetici yardım merkezine göz atın.
|
İstek içeriği
İstek metni, Customer
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılı olursa yanıt metni, yeni oluşturulmuş bir Customer
örneği içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/apps.order
Daha fazla bilgi için Yetkilendirme kılavuzuna bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 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)."]]