John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, 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 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, 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">Enterprise Apps 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="#get">get(customerId)</a></code></p> |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 79 | <p class="firstline">Get a customer account.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 80 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 81 | <code><a href="#insert">insert(body=None, customerAuthToken=None)</a></code></p> |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 82 | <p class="firstline">Order a new customer's account.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 83 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 84 | <code><a href="#patch">patch(customerId, body=None)</a></code></p> |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 85 | <p class="firstline">Update a customer account's settings. This method supports patch semantics.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 86 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 87 | <code><a href="#update">update(customerId, body=None)</a></code></p> |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 88 | <p class="firstline">Update a customer account's settings.</p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 89 | <h3>Method Details</h3> |
| 90 | <div class="method"> |
| 91 | <code class="details" id="get">get(customerId)</code> |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 92 | <pre>Get a customer account. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 93 | |
| 94 | Args: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 95 | customerId: string, Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. (required) |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 96 | |
| 97 | Returns: |
| 98 | An object of the form: |
| 99 | |
| 100 | { # JSON template for a customer. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 101 | "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. |
| 102 | "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. |
| 103 | "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. |
| 104 | "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. |
| 105 | "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 customer and should not use the same domain as customerDomain. |
| 106 | "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. |
| 107 | "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. |
| 108 | "kind": "customers#address", # Identifies the resource as a customer address. Value: customers#address |
| 109 | "region": "A String", # An example of a region value is CA for the state of California. |
| 110 | "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. |
| 111 | "postalCode": "A String", # A postalCode example is a postal zip code such as 94043. This property is required when creating a new customer. |
| 112 | "addressLine2": "A String", # Line 2 of the address. |
| 113 | "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The addressline2 and addressLine3 are optional. |
| 114 | "organizationName": "A String", # The company or company division name. This is required. |
| 115 | "addressLine3": "A String", # Line 3 of the address. |
| 116 | "locality": "A String", # An example of a locality value is the city of San Francisco. |
| 117 | "contactName": "A String", # The customer contact's name. This is required. |
| 118 | }, |
| 119 | "kind": "reseller#customer", # Identifies the resource as a customer. Value: reseller#customer |
| 120 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 121 | </div> |
| 122 | |
| 123 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 124 | <code class="details" id="insert">insert(body=None, customerAuthToken=None)</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 125 | <pre>Order a new customer's account. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 126 | |
| 127 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 128 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 129 | The object takes the form of: |
| 130 | |
| 131 | { # JSON template for a customer. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 132 | "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. |
| 133 | "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. |
| 134 | "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. |
| 135 | "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. |
| 136 | "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 customer and should not use the same domain as customerDomain. |
| 137 | "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. |
| 138 | "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. |
| 139 | "kind": "customers#address", # Identifies the resource as a customer address. Value: customers#address |
| 140 | "region": "A String", # An example of a region value is CA for the state of California. |
| 141 | "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. |
| 142 | "postalCode": "A String", # A postalCode example is a postal zip code such as 94043. This property is required when creating a new customer. |
| 143 | "addressLine2": "A String", # Line 2 of the address. |
| 144 | "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The addressline2 and addressLine3 are optional. |
| 145 | "organizationName": "A String", # The company or company division name. This is required. |
| 146 | "addressLine3": "A String", # Line 3 of the address. |
| 147 | "locality": "A String", # An example of a locality value is the city of San Francisco. |
| 148 | "contactName": "A String", # The customer contact's name. This is required. |
| 149 | }, |
| 150 | "kind": "reseller#customer", # Identifies the resource as a customer. Value: reseller#customer |
| 151 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 152 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 153 | 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. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 154 | |
| 155 | Returns: |
| 156 | An object of the form: |
| 157 | |
| 158 | { # JSON template for a customer. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 159 | "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. |
| 160 | "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. |
| 161 | "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. |
| 162 | "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. |
| 163 | "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 customer and should not use the same domain as customerDomain. |
| 164 | "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. |
| 165 | "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. |
| 166 | "kind": "customers#address", # Identifies the resource as a customer address. Value: customers#address |
| 167 | "region": "A String", # An example of a region value is CA for the state of California. |
| 168 | "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. |
| 169 | "postalCode": "A String", # A postalCode example is a postal zip code such as 94043. This property is required when creating a new customer. |
| 170 | "addressLine2": "A String", # Line 2 of the address. |
| 171 | "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The addressline2 and addressLine3 are optional. |
| 172 | "organizationName": "A String", # The company or company division name. This is required. |
| 173 | "addressLine3": "A String", # Line 3 of the address. |
| 174 | "locality": "A String", # An example of a locality value is the city of San Francisco. |
| 175 | "contactName": "A String", # The customer contact's name. This is required. |
| 176 | }, |
| 177 | "kind": "reseller#customer", # Identifies the resource as a customer. Value: reseller#customer |
| 178 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 179 | </div> |
| 180 | |
| 181 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 182 | <code class="details" id="patch">patch(customerId, body=None)</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 183 | <pre>Update a customer account's settings. This method supports patch semantics. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 184 | |
| 185 | Args: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 186 | customerId: string, Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 187 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 188 | The object takes the form of: |
| 189 | |
| 190 | { # JSON template for a customer. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 191 | "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. |
| 192 | "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. |
| 193 | "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. |
| 194 | "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. |
| 195 | "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 customer and should not use the same domain as customerDomain. |
| 196 | "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. |
| 197 | "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. |
| 198 | "kind": "customers#address", # Identifies the resource as a customer address. Value: customers#address |
| 199 | "region": "A String", # An example of a region value is CA for the state of California. |
| 200 | "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. |
| 201 | "postalCode": "A String", # A postalCode example is a postal zip code such as 94043. This property is required when creating a new customer. |
| 202 | "addressLine2": "A String", # Line 2 of the address. |
| 203 | "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The addressline2 and addressLine3 are optional. |
| 204 | "organizationName": "A String", # The company or company division name. This is required. |
| 205 | "addressLine3": "A String", # Line 3 of the address. |
| 206 | "locality": "A String", # An example of a locality value is the city of San Francisco. |
| 207 | "contactName": "A String", # The customer contact's name. This is required. |
| 208 | }, |
| 209 | "kind": "reseller#customer", # Identifies the resource as a customer. Value: reseller#customer |
| 210 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 211 | |
| 212 | |
| 213 | Returns: |
| 214 | An object of the form: |
| 215 | |
| 216 | { # JSON template for a customer. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 217 | "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. |
| 218 | "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. |
| 219 | "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. |
| 220 | "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. |
| 221 | "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 customer and should not use the same domain as customerDomain. |
| 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 | "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. |
| 224 | "kind": "customers#address", # Identifies the resource as a customer address. Value: customers#address |
| 225 | "region": "A String", # An example of a region value is CA for the state of California. |
| 226 | "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. |
| 227 | "postalCode": "A String", # A postalCode example is a postal zip code such as 94043. This property is required when creating a new customer. |
| 228 | "addressLine2": "A String", # Line 2 of the address. |
| 229 | "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The addressline2 and addressLine3 are optional. |
| 230 | "organizationName": "A String", # The company or company division name. This is required. |
| 231 | "addressLine3": "A String", # Line 3 of the address. |
| 232 | "locality": "A String", # An example of a locality value is the city of San Francisco. |
| 233 | "contactName": "A String", # The customer contact's name. This is required. |
| 234 | }, |
| 235 | "kind": "reseller#customer", # Identifies the resource as a customer. Value: reseller#customer |
| 236 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 237 | </div> |
| 238 | |
| 239 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 240 | <code class="details" id="update">update(customerId, body=None)</code> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 241 | <pre>Update a customer account's settings. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 242 | |
| 243 | Args: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 244 | customerId: string, Either the customer's primary domain name or the customer's unique identifier. If using the domain name, we do not recommend using a customerId as a key for persistent data. If the domain name for a customerId is changed, the Google system automatically updates. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 245 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 246 | The object takes the form of: |
| 247 | |
| 248 | { # JSON template for a customer. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 249 | "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. |
| 250 | "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. |
| 251 | "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. |
| 252 | "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. |
| 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 customer and should not use the same domain as customerDomain. |
| 254 | "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. |
| 255 | "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. |
| 256 | "kind": "customers#address", # Identifies the resource as a customer address. Value: customers#address |
| 257 | "region": "A String", # An example of a region value is CA for the state of California. |
| 258 | "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. |
| 259 | "postalCode": "A String", # A postalCode example is a postal zip code such as 94043. This property is required when creating a new customer. |
| 260 | "addressLine2": "A String", # Line 2 of the address. |
| 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 | "organizationName": "A String", # The company or company division name. This is required. |
| 263 | "addressLine3": "A String", # Line 3 of the address. |
| 264 | "locality": "A String", # An example of a locality value is the city of San Francisco. |
| 265 | "contactName": "A String", # The customer contact's name. This is required. |
| 266 | }, |
| 267 | "kind": "reseller#customer", # Identifies the resource as a customer. Value: reseller#customer |
| 268 | } |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 269 | |
| 270 | |
| 271 | Returns: |
| 272 | An object of the form: |
| 273 | |
| 274 | { # JSON template for a customer. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame^] | 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 | "customerDomainVerified": True or False, # Whether the customer's primary domain has been verified. |
| 277 | "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. |
| 278 | "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. |
| 279 | "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 customer and should not use the same domain as customerDomain. |
| 280 | "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. |
| 281 | "postalAddress": { # JSON template for address of a customer. # A customer's address information. Each field has a limit of 255 charcters. |
| 282 | "kind": "customers#address", # Identifies the resource as a customer address. Value: customers#address |
| 283 | "region": "A String", # An example of a region value is CA for the state of California. |
| 284 | "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. |
| 285 | "postalCode": "A String", # A postalCode example is a postal zip code such as 94043. This property is required when creating a new customer. |
| 286 | "addressLine2": "A String", # Line 2 of the address. |
| 287 | "addressLine1": "A String", # A customer's physical address. An address can be composed of one to three lines. The addressline2 and addressLine3 are optional. |
| 288 | "organizationName": "A String", # The company or company division name. This is required. |
| 289 | "addressLine3": "A String", # Line 3 of the address. |
| 290 | "locality": "A String", # An example of a locality value is the city of San Francisco. |
| 291 | "contactName": "A String", # The customer contact's name. This is required. |
| 292 | }, |
| 293 | "kind": "reseller#customer", # Identifies the resource as a customer. Value: reseller#customer |
| 294 | }</pre> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 295 | </div> |
| 296 | |
| 297 | </body></html> |