Method: customers.insert

Orders a new customer's account.

Before ordering a new customer account, establish whether the customer account already exists using the 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. For more information about ordering a new customer account, see order a new customer account.

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.

HTTP request

POST https://reseller.googleapis.com/apps/reseller/v1/customers

The URL uses gRPC Transcoding syntax.

Query parameters

Parameters
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.

Request body

The request body contains an instance of Customer.

Response body

If successful, the response body contains a newly created instance of Customer.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/apps.order

For more information, see the OAuth 2.0 Overview.