Resource: Customer
When a Google customer's account is registered with a reseller, the customer's subscriptions for Google services are managed by this reseller. A customer is described by a primary domain name and a physical address.
JSON representation | |
---|---|
{
"customerId": string,
"customerDomain": string,
"postalAddress": {
object ( |
Fields | |
---|---|
customerId |
This property will always be returned in a response as the unique identifier generated by Google. In a request, this property can be either the primary domain or the unique identifier generated by Google. |
customerDomain |
The customer's primary domain name string. |
postalAddress |
A customer's address information. Each field has a limit of 255 charcters. |
phoneNumber |
Customer contact phone number. Must start with "+" followed by the country code. The rest of the number can be contiguous numbers or respect the phone local format conventions, but it must be a real phone number and not, for example, "123". This field is silently ignored if invalid. |
alternateEmail |
Like the "Customer email" in the reseller tools, this email is the secondary contact used if something happens to the customer's service such as service outage or a security issue. This property is required when creating a new customer and should not use the same domain as |
resourceUiUrl |
URL to customer's Admin console dashboard. The read-only URL is generated by the API service. This is used if your client application requires the customer to complete a task in the Admin console. |
customerDomainVerified |
Whether the customer's primary domain has been verified. |
kind |
Identifies the resource as a customer. Value: |
Address
JSON template for address of a customer.
JSON representation | |
---|---|
{ "countryCode": string, "kind": string, "region": string, "addressLine2": string, "locality": string, "addressLine3": string, "postalCode": string, "addressLine1": string, "organizationName": string, "contactName": string } |
Fields | |
---|---|
countryCode |
For |
kind |
Identifies the resource as a customer address. Value: |
region |
An example of a |
addressLine2 |
Line 2 of the address. |
locality |
An example of a |
addressLine3 |
Line 3 of the address. |
postalCode |
A |
addressLine1 |
A customer's physical address. An address can be composed of one to three lines. The |
organizationName |
The company or company division name. This is required. |
contactName |
The customer contact's name. This is required. |
Methods |
|
---|---|
|
Get a customer account. |
|
Order a new customer's account. |
|
Update a customer account's settings. |
|
Update a customer account's settings. |