Method: accounts.customers.customerRepricingConfigs.list

Lists information about how a Reseller modifies their bill before sending it to a Customer.

Possible Error Codes:

  • PERMISSION_DENIED: If the account making the request and the account being queried are different.
  • NOT_FOUND: The CustomerRepricingConfig specified does not exist or is not associated with the given account.
  • INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support.

Return Value: If successful, the CustomerRepricingConfig resources. The data for each resource is displayed in the ascending order of:

If unsuccessful, returns an error.

HTTP request

GET https://cloudchannel.googleapis.com/v1alpha1/{parent=accounts/*/customers/*}/customerRepricingConfigs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the customer. Parent uses the format: accounts/{account_id}/customers/{customer_id}. Supports accounts/{account_id}/customers/- to retrieve configs for all customers.

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of repricing configs to return. The service may return fewer than this value. If unspecified, returns a maximum of 50 rules. The maximum value is 100; values above 100 will be coerced to 100.

pageToken

string

Optional. A token identifying a page of results beyond the first page. Obtained through ListCustomerRepricingConfigsResponse.next_page_token of the previous CloudChannelService.ListCustomerRepricingConfigs call.

filter

string

Optional. A filter for [CloudChannelService.ListCustomerRepricingConfigs] results (customer only). You can use this filter when you support a BatchGet-like query. To use the filter, you must set parent=accounts/{account_id}/customers/-.

Example: customer = accounts/account_id/customers/c1 OR customer = accounts/account_id/customers/c2.

Request body

The request body must be empty.

Response body

Response message for CloudChannelService.ListCustomerRepricingConfigs.

If successful, the response body contains data with the following structure:

JSON representation
{
  "customerRepricingConfigs": [
    {
      object (CustomerRepricingConfig)
    }
  ],
  "nextPageToken": string
}
Fields
customerRepricingConfigs[]

object (CustomerRepricingConfig)

The repricing configs for this channel partner.

nextPageToken

string

A token to retrieve the next page of results. Pass to ListCustomerRepricingConfigsRequest.page_token to obtain that page.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.