Billing API, gRPC: CustomerService.List
Retrieves the list of customers associated with the specified reseller.
gRPC request
rpc List (ListCustomersRequest) returns (ListCustomersResponse)
ListCustomersRequest
{
"resellerId": "string",
"pageSize": "int64",
"pageToken": "string"
}
Field |
Description |
resellerId |
string Required field. ID of the reseller. |
pageSize |
int64 The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, |
ListCustomersResponse
{
"customers": [
{
"id": "string",
"billingAccountId": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
customers[] |
List of customers. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
Customer
A Customer resource.
Field |
Description |
id |
string ID of the customer. |
billingAccountId |
string ID of the yandex.cloud.billing.v1.BillingAccount assigned to the customer. |