Retrieve & update a customer's account information
Stay organized with collections
Save and categorize content based on your preferences.
To retrieve and update a customer's information by using the Reseller API,
you have one of two ways to look up your customer:
Customer's unique identifier—for example, C0123456
Customer's domain name—for example, example.com
Retrieve a customer's account information
To retrieve a customer's account information, use the following GET request
and include the authorization token:
GET https://reseller.googleapis.com/apps/reseller/v1/customers/CUSTOMER_ID
Replace the CUSTOMER_ID with your customer's unique
identifier or domain name.
Response returns
When you retrieve a customer's account information, you might receive one of the
following responses:
Returns the full customer settings. The customer is one of your
existing customers. Using the Reseller API, you can manage this
customer's account and subscription settings.
Returns the minimal customer account information. If the response only
returns the customerId, customerDomain and customerType, either
Google or another reseller manages the customer. You can't create another
email-verified customer for the customer. To manage this customer,
follow these steps:
Returns Multiple teams exist on this domain. This domain
has one or multiple team customers associated with it. To add another team
to this domain, follow these steps:
Returns an HTTP 404 error. The customer is new to Google and doesn't
have an account. To manage this customer, follow these steps:
Confirm that your customer records don't hold old customer data with a
potential mismatch of a customer's primary domain name and the unique
Google customer identifier. When a previously deleted Google account is
reinstated, it's treated as a new account and has a new customerId
value even though the account may retain the same customerDomain
value.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Retrieve & update a customer's account information\n\nTo retrieve and update a customer's information by using the Reseller API,\nyou have one of two ways to look up your customer:\n\n- Customer's unique identifier---for example, `C0123456`\n- Customer's domain name---for example, `example.com`\n\nRetrieve a customer's account information\n-----------------------------------------\n\nTo retrieve a customer's account information, use the following `GET` request\nand include the authorization token: \n\n```\nGET https://reseller.googleapis.com/apps/reseller/v1/customers/CUSTOMER_ID\n```\n\nReplace the \u003cvar translate=\"no\"\u003eCUSTOMER_ID\u003c/var\u003e with your customer's unique\nidentifier or domain name.\n\n### Response returns\n\nWhen you retrieve a customer's account information, you might receive one of the\nfollowing responses:\n\n- **Returns the full customer settings.** The customer is one of your\n existing customers. Using the Reseller API, you can manage this\n customer's account and subscription settings.\n\n- **Returns the minimal customer account information.** If the response only\n returns the `customerId`, `customerDomain` and `customerType`, either\n Google or another reseller manages the customer. You can't create another\n email-verified customer for the customer. To manage this customer,\n follow these steps:\n\n 1. [Retrieve all transferable subscriptions for the customer](/workspace/admin/reseller/v1/how-tos/manage_subscriptions) to understand whether the subscription can be transferred and the minimum number of user seats for the transfer.\n 2. [Transfer the subscription](/workspace/admin/reseller/v1/how-tos/manage_subscriptions).\n- **Returns `Multiple teams exist on this domain`**. This domain\n has one or multiple team customers associated with it. To add another team\n to this domain, follow these steps:\n\n 1. [Order a customer account](/workspace/admin/reseller/v1/how-tos/manage_subscriptions).\n 2. To create a domain-verified customer for the domain, ask the customer to [purchase a direct subscription via Google and verify their domain, takeover existing teams](https://support.google.com/a/answer/9122284) and then [transfer the subscription to your account](/workspace/admin/reseller/v1/how-tos/(/workspace/admin/reseller/v1/how-tos/manage_subscriptions)).\n- **Returns an HTTP `404` error.** The customer is new to Google and doesn't\n have an account. To manage this customer, follow these steps:\n\n 1. Confirm that your customer records don't hold old customer data with a potential mismatch of a customer's primary domain name and the unique Google customer identifier. When a previously deleted Google account is reinstated, it's treated as a new account and has a new `customerId` value even though the account may retain the same `customerDomain` value.\n 2. [Order a new customer account](/workspace/admin/reseller/v1/how-tos/manage_customers).\n 3. [Create a subscription](/workspace/admin/reseller/v1/how-tos/manage_subscriptions) for this new customer account.\n\nUpdate a customer's settings\n----------------------------\n\nUsing the Reseller API, you can't update the `customerType` but you can\nverify a `team` customer's domain and become a `domain` customer.\n\nTo update a customer's settings, use the following `PUT` request and include\nthe unique identifier for your customer: \n\n```\nPUT https://reseller.googleapis.com/apps/reseller/v1/customers/CUSTOMER_ID\n```\n\nThe JSON request body updates the following customer settings: \n\n```\n{\n \"customerId\": \"C0CUSTOMER_ID123456\",\n \"customerDomain\": \"DOMAIN_NAME\",\n \"postalAddress\": {\n \"contactName\": \"NAME\",\n \"organizationName\": \"ORGANIZATION_NAME\",\n \"postalCode\": \"POSTAL_CODE\",\n \"countryCode\": \"COUNTRY_CODE\"\n },\n \"alternateEmail\": \"EMAIL_ADDRESS\"\n}\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eDOMAIN_NAME\u003c/var\u003e: your customer's domain---for example, `example.com`\n- \u003cvar translate=\"no\"\u003eNAME\u003c/var\u003e: your customer's name---for example, `Alex Cruz`.\n- \u003cvar translate=\"no\"\u003eORGANIZATION_NAME\u003c/var\u003e: your customer's organization name---for example, `Example Organization`.\n- \u003cvar translate=\"no\"\u003ePOSTAL_CODE\u003c/var\u003e: your customer's ZIP or postal code---for example, `94043`.\n- \u003cvar translate=\"no\"\u003eCOUNTRY_CODE\u003c/var\u003e: your customer's 2 character [ISO country code](https://countrycode.org/).\n- \u003cvar translate=\"no\"\u003eEMAIL_ADDRESS\u003c/var\u003e: your customer's email address---for example, `cruz@example.com`.\n\nA successful JSON response returns an HTTP `200` status code and the updated\ncustomer settings: \n\n```\n{\n \"kind\": \"reseller#customer\",\n \"customerId\": \"CUSTOMER_ID\",\n \"customerDomain\": \"DOMAIN_NAME\",\n \"postalAddress\": {\n \"kind\": \"customers#address\",\n \"contactName\": \"NAME\",\n \"organizationName\": \"ORGANIZATION_NAME\",\n \"postalCode\": \"POSTAL_CODE\",\n \"countryCode\": \"COUNTRY_CODE\",\n },\n \"alternateEmail\": \"EMAIL_ADDRESS\"\n}\n```"]]