---
title: "POST /v1/partners/{partnersId}/customers"
method: POST
path: "/v1/partners/{partnersId}/customers"
tags: ["partners"]
---

# POST /v1/partners/{partnersId}/customers

`POST /v1/partners/{partnersId}/customers`

## Request

- Base URL: `https://androiddeviceprovisioning.googleapis.com`
- URL: `https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnersId}/customers`
- Auth: none declared

Creates a customer for zero-touch enrollment. After the method returns successfully, admin and owner roles can manage devices and EMM configs by calling API methods or using their zero-touch enrollment portal. The customer receives an email that welcomes them to zero-touch enrollment and explains how to sign into the portal.

## Path parameters

- `partnersId` string, required

## Request body

- CreateCustomerRequest: Request message to create a customer.
  - `customer` Company: A reseller, vendor, or customer in the zero-touch reseller and customer APIs.
    - `adminEmails` string[]: Optional. Email address of customer's users in the admin role. Each email address must be associated with a Google Account.
    - `companyId` string, int64: Output only. The ID of the company. Assigned by the server.
    - `companyName` string: Required. The name of the company. For example _XYZ Corp_. Displayed to the company's employees in the zero-touch enrollment portal.
    - `googleWorkspaceAccount` GoogleWorkspaceAccount: A Google Workspace customer.
      - `customerId` string: Required. The customer ID.
      - `preProvisioningTokens` string[]: Output only. The pre-provisioning tokens previously used to claim devices.
    - `languageCode` string: Input only. The preferred locale of the customer represented as a BCP47 language code. This field is validated on input and requests containing unsupported language codes will be rejected. Supported language codes: Arabic (ar) Chinese (Hong Kong) (zh-HK) Chinese (Simplified) (zh-CN) Chinese (Traditional) (zh-TW) Czech (cs) Danish (da) Dutch (nl) English (UK) (en-GB) English (US) (en-US) Filipino (fil) Finnish (fi) French (fr) German (de) Hebrew (iw) Hindi (hi) Hungarian (hu) Indonesian (id) Italian (it) Japanese (ja) Korean (ko) Norwegian (Bokmal) (no) Polish (pl) Portuguese (Brazil) (pt-BR) Portuguese (Portugal) (pt-PT) Russian (ru) Spanish (es) Spanish (Latin America) (es-419) Swedish (sv) Thai (th) Turkish (tr) Ukrainian (uk) Vietnamese (vi)
    - `name` string: Output only. The API resource name of the company. The resource name is one of the following formats: * `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]/customers/[CUSTOMER_ID]` Assigned by the server.
    - `ownerEmails` string[]: Required. Input only. Email address of customer's users in the owner role. At least one `owner_email` is required. Owners share the same access as admins but can also add, delete, and edit your organization's portal users.
    - `skipWelcomeEmail` boolean: Input only. Deprecated: This field is no longer supported and is ignored by the server.
    - `termsStatus` 'TERMS_STATUS_UNSPECIFIED' | 'TERMS_STATUS_NOT_ACCEPTED' | 'TERMS_STATUS_ACCEPTED' | 'TERMS_STATUS_STALE': Output only. Whether any user from the company has accepted the latest Terms of Service (ToS). See TermsStatus.

## Response `200`

Successful response

- Company: A reseller, vendor, or customer in the zero-touch reseller and customer APIs.
  - `adminEmails` string[]: Optional. Email address of customer's users in the admin role. Each email address must be associated with a Google Account.
  - `companyId` string, int64: Output only. The ID of the company. Assigned by the server.
  - `companyName` string: Required. The name of the company. For example _XYZ Corp_. Displayed to the company's employees in the zero-touch enrollment portal.
  - `googleWorkspaceAccount` GoogleWorkspaceAccount: A Google Workspace customer.
    - `customerId` string: Required. The customer ID.
    - `preProvisioningTokens` string[]: Output only. The pre-provisioning tokens previously used to claim devices.
  - `languageCode` string: Input only. The preferred locale of the customer represented as a BCP47 language code. This field is validated on input and requests containing unsupported language codes will be rejected. Supported language codes: Arabic (ar) Chinese (Hong Kong) (zh-HK) Chinese (Simplified) (zh-CN) Chinese (Traditional) (zh-TW) Czech (cs) Danish (da) Dutch (nl) English (UK) (en-GB) English (US) (en-US) Filipino (fil) Finnish (fi) French (fr) German (de) Hebrew (iw) Hindi (hi) Hungarian (hu) Indonesian (id) Italian (it) Japanese (ja) Korean (ko) Norwegian (Bokmal) (no) Polish (pl) Portuguese (Brazil) (pt-BR) Portuguese (Portugal) (pt-PT) Russian (ru) Spanish (es) Spanish (Latin America) (es-419) Swedish (sv) Thai (th) Turkish (tr) Ukrainian (uk) Vietnamese (vi)
  - `name` string: Output only. The API resource name of the company. The resource name is one of the following formats: * `partners/[PARTNER_ID]/customers/[CUSTOMER_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]` * `partners/[PARTNER_ID]/vendors/[VENDOR_ID]/customers/[CUSTOMER_ID]` Assigned by the server.
  - `ownerEmails` string[]: Required. Input only. Email address of customer's users in the owner role. At least one `owner_email` is required. Owners share the same access as admins but can also add, delete, and edit your organization's portal users.
  - `skipWelcomeEmail` boolean: Input only. Deprecated: This field is no longer supported and is ignored by the server.
  - `termsStatus` 'TERMS_STATUS_UNSPECIFIED' | 'TERMS_STATUS_NOT_ACCEPTED' | 'TERMS_STATUS_ACCEPTED' | 'TERMS_STATUS_STALE': Output only. Whether any user from the company has accepted the latest Terms of Service (ToS). See TermsStatus.

---

[API](https://skmtc.dev/google/apis/androiddeviceprovisioning.md) - [All operations](https://skmtc.dev/google/apis/androiddeviceprovisioning/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/androiddeviceprovisioning/revisions/87b1e2664607?raw)
