AI-generated Key Takeaways
- 
          
This endpoint retrieves a list of customers associated with a specific vendor using a
GETrequest to the provided URL, which employs gRPC Transcoding syntax. - 
          
The request requires a
parentpath parameter specifying the vendor's resource name, and supports optional query parameterspageSizeandpageTokenfor pagination. - 
          
The request body must be empty, as this endpoint is only used to fetch data and not change it.
 - 
          
The successful response contains a JSON body with a list of customers, an optional
nextPageTokenfor retrieving subsequent pages, and atotalSizeindicating the total number of customers, regardless of pagination. - 
          
Accessing this endpoint requires the OAuth scope
https://www.googleapis.com/auth/androidworkprovisioning. 
Lists the customers of the vendor.
HTTP request
GET https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*/vendors/*}/customers
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent | 
                
                   
 Required. The resource name in the format   | 
              
Query parameters
| Parameters | |
|---|---|
pageSize | 
                
                   
 The maximum number of results to be returned.  | 
              
pageToken | 
                
                   
 A token identifying a page of results returned by the server.  | 
              
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response message to list customers of the vendor.
| JSON representation | |
|---|---|
{
  "customers": [
    {
      object ( | 
                  |
| Fields | |
|---|---|
customers[] | 
                    
                       
 List of customers of the vendor.  | 
                  
nextPageToken | 
                    
                       
 A token to retrieve the next page of results. Omitted if no further results are available.  | 
                  
totalSize | 
                    
                       
 The total count of items in the list irrespective of pagination.  | 
                  
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidworkprovisioning
For more information, see the OAuth 2.0 Overview.