- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
List Customer
s.
Possible error codes:
- PERMISSION_DENIED: The reseller account making the request is different from the reseller account in the API request.
- INVALID_ARGUMENT: Required request parameters are missing or invalid.
Return value: List of Customer
s, or an empty list if there are no customers.
HTTP request
GET https://cloudchannel.googleapis.com/v1alpha1/{parent=accounts/*/channelPartnerLinks/*}/customers
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the reseller account to list customers from. Parent uses the format: accounts/{account_id}. |
Query parameters
Parameters | |
---|---|
page |
Optional. The maximum number of customers to return. The service may return fewer than this value. If unspecified, returns at most 10 customers. The maximum value is 50. |
page |
Optional. A token identifying a page of results other than the first page. Obtained through |
filter |
Optional. Filters applied to the [CloudChannelService.ListCustomers] results. See https://cloud.google.com/channel/docs/concepts/google-cloud/filter-customers for more information. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of ListCustomersResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.order
For more information, see the Authentication Overview.