REST Resource: customers
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
रिसॉर्स: ग्राहक
JSON के काेड में दिखाना |
{
"id": string,
"customerDomain": string,
"kind": string,
"etag": string,
"alternateEmail": string,
"customerCreationTime": string,
"postalAddress": {
object (CustomerPostalAddress )
},
"phoneNumber": string,
"language": string
} |
फ़ील्ड |
id |
string
ग्राहक के Google Workspace खाते का यूनीक आईडी. (रीड ओनली)
|
customerDomain |
string
ग्राहक के प्राइमरी डोमेन नेम की स्ट्रिंग. नया ग्राहक बनाते समय, www प्रीफ़िक्स शामिल न करें.
|
kind |
string
संसाधन को ग्राहक के तौर पर पहचानता है. मान: admin#directory#customer
|
etag |
string
संसाधन का ETag.
|
alternateEmail |
string
ग्राहक का संपर्क करने के लिए दूसरा ईमेल पता. यह ईमेल पता, customerDomain के डोमेन से मेल नहीं खा सकता
|
customerCreationTime |
string
ग्राहक को जोड़ने का समय (रीड-ओनली)
|
postalAddress |
object (CustomerPostalAddress )
ग्राहक के डाक पते की जानकारी.
|
phoneNumber |
string
ग्राहक का संपर्क फ़ोन नंबर, E.164 फ़ॉर्मैट में होना चाहिए.
|
language |
string
ग्राहक की भाषा का ISO 639-2 कोड. इस्तेमाल किए जा सकने वाले कोड की सूची के लिए, भाषा के कोड पेज पर जाएं. काम करने वाले सेट के बाहर के मान्य भाषा कोड, एपीआई स्वीकार करेगा. हालांकि, इससे अनचाहा व्यवहार हो सकता है. डिफ़ॉल्ट वैल्यू en है.
|
CustomerPostalAddress
JSON के काेड में दिखाना |
{
"countryCode": string,
"addressLine2": string,
"region": string,
"addressLine3": string,
"locality": string,
"postalCode": string,
"addressLine1": string,
"organizationName": string,
"contactName": string
} |
फ़ील्ड |
countryCode |
string
यह एक ज़रूरी प्रॉपर्टी है. countryCode के बारे में जानकारी के लिए, ISO 3166 देश कोड के एलिमेंट देखें.
|
addressLine2 |
string
पते की दूसरी लाइन.
|
region |
string
इलाके का नाम. क्षेत्र की वैल्यू का उदाहरण: न्यूयॉर्क राज्य के लिए NY .
|
addressLine3 |
string
पते की तीसरी लाइन.
|
locality |
string
इलाके का नाम. इलाके की वैल्यू का उदाहरण, San Francisco शहर है.
|
postalCode |
string
पिन कोड. पिन कोड का उदाहरण, 10009 जैसा पिन कोड है. यह - http: //portablecontacts.net/draft-spec.html#address_element के मुताबिक है.
|
addressLine1 |
string
खरीदार का घर या ऑफ़िस का पता. पते में एक से तीन लाइनें हो सकती हैं.
|
organizationName |
string
कंपनी या कंपनी के डिवीज़न का नाम.
|
contactName |
string
ग्राहक के संपर्क का नाम.
|
तरीके |
|
किसी ग्राहक की जानकारी दिखाता है. |
|
किसी ग्राहक को पैच करता है. |
|
किसी ग्राहक की जानकारी अपडेट करता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-24 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-24 (UTC) को अपडेट किया गया."],[],[],null,["# REST Resource: customers\n\nResource: Customer\n------------------\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"id\": string, \"customerDomain\": string, \"kind\": string, \"etag\": string, \"alternateEmail\": string, \"customerCreationTime\": string, \"postalAddress\": { object (/workspace/admin/directory/reference/rest/v1/customers#CustomerPostalAddress) }, \"phoneNumber\": string, \"language\": string } ``` |\n\n| Fields ||\n|------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `id` | `string` The unique ID for the customer's Google Workspace account. (Readonly) |\n| `customerDomain` | `string` The customer's primary domain name string. Do not include the `www` prefix when creating a new customer. |\n| `kind` | `string` Identifies the resource as a customer. Value: `admin#directory#customer` |\n| `etag` | `string` ETag of the resource. |\n| `alternateEmail` | `string` The customer's secondary contact email address. This email address cannot be on the same domain as the `customerDomain` |\n| `customerCreationTime` | `string` The customer's creation time (Readonly) |\n| `postalAddress` | `object (`[CustomerPostalAddress](/workspace/admin/directory/reference/rest/v1/customers#CustomerPostalAddress)`)` The customer's postal address information. |\n| `phoneNumber` | `string` The customer's contact phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format. |\n| `language` | `string` The customer's ISO 639-2 language code. See the [Language Codes](https://developers.google.com/workspace/admin/directory/v1/languages) page for the list of supported codes. Valid language codes outside the supported set will be accepted by the API but may lead to unexpected behavior. The default value is `en`. |\n\nCustomerPostalAddress\n---------------------\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"countryCode\": string, \"addressLine2\": string, \"region\": string, \"addressLine3\": string, \"locality\": string, \"postalCode\": string, \"addressLine1\": string, \"organizationName\": string, \"contactName\": string } ``` |\n\n| Fields ||\n|--------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `countryCode` | `string` This is a required property. For `countryCode` information see the [ISO 3166 country code elements](https://www.iso.org/iso/country_codes.htm). |\n| `addressLine2` | `string` Address line 2 of the address. |\n| `region` | `string` Name of the region. An example of a region value is `NY` for the state of New York. |\n| `addressLine3` | `string` Address line 3 of the address. |\n| `locality` | `string` Name of the locality. An example of a locality value is the city of `San Francisco`. |\n| `postalCode` | `string` The postal code. A postalCode example is a postal zip code such as `10009`. This is in accordance with - http: //portablecontacts.net/draft-spec.html#address_element. |\n| `addressLine1` | `string` A customer's physical address. The address can be composed of one to three lines. |\n| `organizationName` | `string` The company or company division name. |\n| `contactName` | `string` The customer contact's name. |\n\n| Methods ------- ||\n|-----------------------------------------------------------------------------|-----------------------|\n| ### [get](/workspace/admin/directory/reference/rest/v1/customers/get) | Retrieves a customer. |\n| ### [patch](/workspace/admin/directory/reference/rest/v1/customers/patch) | Patches a customer. |\n| ### [update](/workspace/admin/directory/reference/rest/v1/customers/update) | Updates a customer. |"]]