Customer
import type { Customer } from "https://googleapis.deno.dev/v1/reseller:v1.ts";
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.
§Properties
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 "domain" customer and should not use the same domain as
customerDomain
. The alternateEmail
field is not necessary to create a
"team" customer.
The customer's primary domain name string. customerDomain
is required
when creating a new customer. Do not include the www
prefix in the domain
when adding a customer.
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.
Identifies the type of the customer. Acceptable values include: *
domain
: Implies a domain-verified customer (default). * team
: Implies
an email-verified customer. For more information, see managed
teams.
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.
The first admin details of the customer, present in case of TEAM customer.