1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="reseller_v1.html">Google Workspace Reseller API</a> . <a href="reseller_v1.customers.html">customers</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#get">get(customerId, x__xgafv=None)</a></code></p> 82<p class="firstline">Gets a customer account. Use this operation to see a customer account already in your reseller management, or to see the minimal account information for an existing customer that you do not manage. For more information about the API response for existing customers, see [retrieving a customer account](/admin-sdk/reseller/v1/how-tos/manage_customers#get_customer).</p> 83<p class="toc_element"> 84 <code><a href="#insert">insert(body=None, customerAuthToken=None, x__xgafv=None)</a></code></p> 85<p class="firstline">Orders a new customer's account. Before ordering a new customer account, establish whether the customer account already exists using the [`customers.get`](/admin-sdk/reseller/v1/reference/customers/get) If 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](/admin-sdk/reseller/v1/how-tos/manage_customers#create_existing_customer). For more information about ordering a new customer account, see [order a new customer account](/admin-sdk/reseller/v1/how-tos/manage_customers#create_customer). After 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](/admin-sdk/reseller/v1/how-tos/manage_customers#tos).</p> 86<p class="toc_element"> 87 <code><a href="#patch">patch(customerId, body=None, x__xgafv=None)</a></code></p> 88<p class="firstline">Updates a customer account's settings. This method supports patch semantics. You cannot update `customerType` via the Reseller API, but a `"team"` customer can verify their domain and become `customerType = "domain"`. For more information, see [Verify your domain to unlock Essentials features](https://support.google.com/a/answer/9122284).</p> 89<p class="toc_element"> 90 <code><a href="#update">update(customerId, body=None, x__xgafv=None)</a></code></p> 91<p class="firstline">Updates a customer account's settings. You cannot update `customerType` via the Reseller API, but a `"team"` customer can verify their domain and become `customerType = "domain"`. For more information, see [update a customer's settings](/admin-sdk/reseller/v1/how-tos/manage_customers#update_customer).</p> 92<h3>Method Details</h3> 93<div class="method"> 94 <code class="details" id="close">close()</code> 95 <pre>Close httplib2 connections.</pre> 96</div> 97 98<div class="method"> 99 <code class="details" id="get">get(customerId, x__xgafv=None)</code> 100 <pre>Gets a customer account. Use this operation to see a customer account already in your reseller management, or to see the minimal account information for an existing customer that you do not manage. For more information about the API response for existing customers, see [retrieving a customer account](/admin-sdk/reseller/v1/how-tos/manage_customers#get_customer). 101 102Args: 103 customerId: string, This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable. (required) 104 x__xgafv: string, V1 error format. 105 Allowed values 106 1 - v1 error format 107 2 - v2 error format 108 109Returns: 110 An object of the form: 111 112 { # 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. 113 "alternateEmail": "A String", # 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. 114 "customerDomain": "A String", # 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. 115 "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. 116 "customerId": "A String", # 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. 117 "customerType": "A String", # 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](https://support.google.com/a/users/answer/9939479). 118 "kind": "reseller#customer", # Identifies the resource as a customer. Value: `reseller#customer` 119 "phoneNumber": "A String", # 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. 120 "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. 121 "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The `addressline2` and `addressLine3` are optional. 122 "addressLine2": "A String", # Line 2 of the address. 123 "addressLine3": "A String", # Line 3 of the address. 124 "contactName": "A String", # The customer contact's name. This is required. 125 "countryCode": "A String", # For `countryCode` information, see the ISO 3166 country code elements. Verify that country is approved for resale of Google products. This property is required when creating a new customer. 126 "kind": "customers#address", # Identifies the resource as a customer address. Value: `customers#address` 127 "locality": "A String", # An example of a `locality` value is the city of `San Francisco`. 128 "organizationName": "A String", # The company or company division name. This is required. 129 "postalCode": "A String", # A `postalCode` example is a postal zip code such as `94043`. This property is required when creating a new customer. 130 "region": "A String", # An example of a `region` value is `CA` for the state of California. 131 }, 132 "primaryAdmin": { # JSON template for primary admin in case of TEAM customers # The first admin details of the customer, present in case of TEAM customer. 133 "primaryEmail": "A String", # The business email of the primary administrator of the customer. The email verification link is sent to this email address at the time of customer creation. Primary administrators have access to the customer's Admin Console, including the ability to invite and evict users and manage the administrative needs of the customer. 134 }, 135 "resourceUiUrl": "A String", # 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. 136}</pre> 137</div> 138 139<div class="method"> 140 <code class="details" id="insert">insert(body=None, customerAuthToken=None, x__xgafv=None)</code> 141 <pre>Orders a new customer's account. Before ordering a new customer account, establish whether the customer account already exists using the [`customers.get`](/admin-sdk/reseller/v1/reference/customers/get) If 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](/admin-sdk/reseller/v1/how-tos/manage_customers#create_existing_customer). For more information about ordering a new customer account, see [order a new customer account](/admin-sdk/reseller/v1/how-tos/manage_customers#create_customer). After 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](/admin-sdk/reseller/v1/how-tos/manage_customers#tos). 142 143Args: 144 body: object, The request body. 145 The object takes the form of: 146 147{ # 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. 148 "alternateEmail": "A String", # 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. 149 "customerDomain": "A String", # 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. 150 "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. 151 "customerId": "A String", # 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. 152 "customerType": "A String", # 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](https://support.google.com/a/users/answer/9939479). 153 "kind": "reseller#customer", # Identifies the resource as a customer. Value: `reseller#customer` 154 "phoneNumber": "A String", # 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. 155 "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. 156 "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The `addressline2` and `addressLine3` are optional. 157 "addressLine2": "A String", # Line 2 of the address. 158 "addressLine3": "A String", # Line 3 of the address. 159 "contactName": "A String", # The customer contact's name. This is required. 160 "countryCode": "A String", # For `countryCode` information, see the ISO 3166 country code elements. Verify that country is approved for resale of Google products. This property is required when creating a new customer. 161 "kind": "customers#address", # Identifies the resource as a customer address. Value: `customers#address` 162 "locality": "A String", # An example of a `locality` value is the city of `San Francisco`. 163 "organizationName": "A String", # The company or company division name. This is required. 164 "postalCode": "A String", # A `postalCode` example is a postal zip code such as `94043`. This property is required when creating a new customer. 165 "region": "A String", # An example of a `region` value is `CA` for the state of California. 166 }, 167 "primaryAdmin": { # JSON template for primary admin in case of TEAM customers # The first admin details of the customer, present in case of TEAM customer. 168 "primaryEmail": "A String", # The business email of the primary administrator of the customer. The email verification link is sent to this email address at the time of customer creation. Primary administrators have access to the customer's Admin Console, including the ability to invite and evict users and manage the administrative needs of the customer. 169 }, 170 "resourceUiUrl": "A String", # 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. 171} 172 173 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. 174 x__xgafv: string, V1 error format. 175 Allowed values 176 1 - v1 error format 177 2 - v2 error format 178 179Returns: 180 An object of the form: 181 182 { # 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. 183 "alternateEmail": "A String", # 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. 184 "customerDomain": "A String", # 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. 185 "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. 186 "customerId": "A String", # 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. 187 "customerType": "A String", # 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](https://support.google.com/a/users/answer/9939479). 188 "kind": "reseller#customer", # Identifies the resource as a customer. Value: `reseller#customer` 189 "phoneNumber": "A String", # 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. 190 "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. 191 "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The `addressline2` and `addressLine3` are optional. 192 "addressLine2": "A String", # Line 2 of the address. 193 "addressLine3": "A String", # Line 3 of the address. 194 "contactName": "A String", # The customer contact's name. This is required. 195 "countryCode": "A String", # For `countryCode` information, see the ISO 3166 country code elements. Verify that country is approved for resale of Google products. This property is required when creating a new customer. 196 "kind": "customers#address", # Identifies the resource as a customer address. Value: `customers#address` 197 "locality": "A String", # An example of a `locality` value is the city of `San Francisco`. 198 "organizationName": "A String", # The company or company division name. This is required. 199 "postalCode": "A String", # A `postalCode` example is a postal zip code such as `94043`. This property is required when creating a new customer. 200 "region": "A String", # An example of a `region` value is `CA` for the state of California. 201 }, 202 "primaryAdmin": { # JSON template for primary admin in case of TEAM customers # The first admin details of the customer, present in case of TEAM customer. 203 "primaryEmail": "A String", # The business email of the primary administrator of the customer. The email verification link is sent to this email address at the time of customer creation. Primary administrators have access to the customer's Admin Console, including the ability to invite and evict users and manage the administrative needs of the customer. 204 }, 205 "resourceUiUrl": "A String", # 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. 206}</pre> 207</div> 208 209<div class="method"> 210 <code class="details" id="patch">patch(customerId, body=None, x__xgafv=None)</code> 211 <pre>Updates a customer account's settings. This method supports patch semantics. You cannot update `customerType` via the Reseller API, but a `"team"` customer can verify their domain and become `customerType = "domain"`. For more information, see [Verify your domain to unlock Essentials features](https://support.google.com/a/answer/9122284). 212 213Args: 214 customerId: string, This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable. (required) 215 body: object, The request body. 216 The object takes the form of: 217 218{ # 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. 219 "alternateEmail": "A String", # 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. 220 "customerDomain": "A String", # 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. 221 "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. 222 "customerId": "A String", # 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. 223 "customerType": "A String", # 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](https://support.google.com/a/users/answer/9939479). 224 "kind": "reseller#customer", # Identifies the resource as a customer. Value: `reseller#customer` 225 "phoneNumber": "A String", # 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. 226 "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. 227 "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The `addressline2` and `addressLine3` are optional. 228 "addressLine2": "A String", # Line 2 of the address. 229 "addressLine3": "A String", # Line 3 of the address. 230 "contactName": "A String", # The customer contact's name. This is required. 231 "countryCode": "A String", # For `countryCode` information, see the ISO 3166 country code elements. Verify that country is approved for resale of Google products. This property is required when creating a new customer. 232 "kind": "customers#address", # Identifies the resource as a customer address. Value: `customers#address` 233 "locality": "A String", # An example of a `locality` value is the city of `San Francisco`. 234 "organizationName": "A String", # The company or company division name. This is required. 235 "postalCode": "A String", # A `postalCode` example is a postal zip code such as `94043`. This property is required when creating a new customer. 236 "region": "A String", # An example of a `region` value is `CA` for the state of California. 237 }, 238 "primaryAdmin": { # JSON template for primary admin in case of TEAM customers # The first admin details of the customer, present in case of TEAM customer. 239 "primaryEmail": "A String", # The business email of the primary administrator of the customer. The email verification link is sent to this email address at the time of customer creation. Primary administrators have access to the customer's Admin Console, including the ability to invite and evict users and manage the administrative needs of the customer. 240 }, 241 "resourceUiUrl": "A String", # 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. 242} 243 244 x__xgafv: string, V1 error format. 245 Allowed values 246 1 - v1 error format 247 2 - v2 error format 248 249Returns: 250 An object of the form: 251 252 { # 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. 253 "alternateEmail": "A String", # 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. 254 "customerDomain": "A String", # 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. 255 "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. 256 "customerId": "A String", # 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. 257 "customerType": "A String", # 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](https://support.google.com/a/users/answer/9939479). 258 "kind": "reseller#customer", # Identifies the resource as a customer. Value: `reseller#customer` 259 "phoneNumber": "A String", # 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. 260 "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. 261 "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The `addressline2` and `addressLine3` are optional. 262 "addressLine2": "A String", # Line 2 of the address. 263 "addressLine3": "A String", # Line 3 of the address. 264 "contactName": "A String", # The customer contact's name. This is required. 265 "countryCode": "A String", # For `countryCode` information, see the ISO 3166 country code elements. Verify that country is approved for resale of Google products. This property is required when creating a new customer. 266 "kind": "customers#address", # Identifies the resource as a customer address. Value: `customers#address` 267 "locality": "A String", # An example of a `locality` value is the city of `San Francisco`. 268 "organizationName": "A String", # The company or company division name. This is required. 269 "postalCode": "A String", # A `postalCode` example is a postal zip code such as `94043`. This property is required when creating a new customer. 270 "region": "A String", # An example of a `region` value is `CA` for the state of California. 271 }, 272 "primaryAdmin": { # JSON template for primary admin in case of TEAM customers # The first admin details of the customer, present in case of TEAM customer. 273 "primaryEmail": "A String", # The business email of the primary administrator of the customer. The email verification link is sent to this email address at the time of customer creation. Primary administrators have access to the customer's Admin Console, including the ability to invite and evict users and manage the administrative needs of the customer. 274 }, 275 "resourceUiUrl": "A String", # 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. 276}</pre> 277</div> 278 279<div class="method"> 280 <code class="details" id="update">update(customerId, body=None, x__xgafv=None)</code> 281 <pre>Updates a customer account's settings. You cannot update `customerType` via the Reseller API, but a `"team"` customer can verify their domain and become `customerType = "domain"`. For more information, see [update a customer's settings](/admin-sdk/reseller/v1/how-tos/manage_customers#update_customer). 282 283Args: 284 customerId: string, This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable. (required) 285 body: object, The request body. 286 The object takes the form of: 287 288{ # 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. 289 "alternateEmail": "A String", # 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. 290 "customerDomain": "A String", # 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. 291 "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. 292 "customerId": "A String", # 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. 293 "customerType": "A String", # 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](https://support.google.com/a/users/answer/9939479). 294 "kind": "reseller#customer", # Identifies the resource as a customer. Value: `reseller#customer` 295 "phoneNumber": "A String", # 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. 296 "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. 297 "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The `addressline2` and `addressLine3` are optional. 298 "addressLine2": "A String", # Line 2 of the address. 299 "addressLine3": "A String", # Line 3 of the address. 300 "contactName": "A String", # The customer contact's name. This is required. 301 "countryCode": "A String", # For `countryCode` information, see the ISO 3166 country code elements. Verify that country is approved for resale of Google products. This property is required when creating a new customer. 302 "kind": "customers#address", # Identifies the resource as a customer address. Value: `customers#address` 303 "locality": "A String", # An example of a `locality` value is the city of `San Francisco`. 304 "organizationName": "A String", # The company or company division name. This is required. 305 "postalCode": "A String", # A `postalCode` example is a postal zip code such as `94043`. This property is required when creating a new customer. 306 "region": "A String", # An example of a `region` value is `CA` for the state of California. 307 }, 308 "primaryAdmin": { # JSON template for primary admin in case of TEAM customers # The first admin details of the customer, present in case of TEAM customer. 309 "primaryEmail": "A String", # The business email of the primary administrator of the customer. The email verification link is sent to this email address at the time of customer creation. Primary administrators have access to the customer's Admin Console, including the ability to invite and evict users and manage the administrative needs of the customer. 310 }, 311 "resourceUiUrl": "A String", # 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. 312} 313 314 x__xgafv: string, V1 error format. 315 Allowed values 316 1 - v1 error format 317 2 - v2 error format 318 319Returns: 320 An object of the form: 321 322 { # 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. 323 "alternateEmail": "A String", # 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. 324 "customerDomain": "A String", # 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. 325 "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. 326 "customerId": "A String", # 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. 327 "customerType": "A String", # 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](https://support.google.com/a/users/answer/9939479). 328 "kind": "reseller#customer", # Identifies the resource as a customer. Value: `reseller#customer` 329 "phoneNumber": "A String", # 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. 330 "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. 331 "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The `addressline2` and `addressLine3` are optional. 332 "addressLine2": "A String", # Line 2 of the address. 333 "addressLine3": "A String", # Line 3 of the address. 334 "contactName": "A String", # The customer contact's name. This is required. 335 "countryCode": "A String", # For `countryCode` information, see the ISO 3166 country code elements. Verify that country is approved for resale of Google products. This property is required when creating a new customer. 336 "kind": "customers#address", # Identifies the resource as a customer address. Value: `customers#address` 337 "locality": "A String", # An example of a `locality` value is the city of `San Francisco`. 338 "organizationName": "A String", # The company or company division name. This is required. 339 "postalCode": "A String", # A `postalCode` example is a postal zip code such as `94043`. This property is required when creating a new customer. 340 "region": "A String", # An example of a `region` value is `CA` for the state of California. 341 }, 342 "primaryAdmin": { # JSON template for primary admin in case of TEAM customers # The first admin details of the customer, present in case of TEAM customer. 343 "primaryEmail": "A String", # The business email of the primary administrator of the customer. The email verification link is sent to this email address at the time of customer creation. Primary administrators have access to the customer's Admin Console, including the ability to invite and evict users and manage the administrative needs of the customer. 344 }, 345 "resourceUiUrl": "A String", # 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. 346}</pre> 347</div> 348 349</body></html>