Method: accounts.channelPartnerLinks.channelPartnerRepricingConfigs.list

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

Possible Error Codes:

  • PERMISSION_DENIED: If the account making the request and the account being queried are different.
  • NOT_FOUND: The ChannelPartnerRepricingConfig 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 ChannelPartnerRepricingConfig resources. The data for each resource is displayed in the ascending order of: * channel partner ID * RepricingConfig.effective_invoice_month * ChannelPartnerRepricingConfig.update_time

If unsuccessful, returns an error.

HTTP request

GET https://cloudchannel.googleapis.com/v1/{parent=accounts/*/channelPartnerLinks/*}/channelPartnerRepricingConfigs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The resource name of the account's ChannelPartnerLink. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channelPartnerId}. Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs for all channel partners.

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 ListChannelPartnerRepricingConfigsResponse.next_page_token of the previous CloudChannelService.ListChannelPartnerRepricingConfigs call.

filter

string

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

Example: channelPartnerLink = accounts/account_id/channelPartnerLinks/c1 OR channelPartnerLink = accounts/account_id/channelPartnerLinks/c2.

Request body

The request body must be empty.

Response body

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

Response message for CloudChannelService.ListChannelPartnerRepricingConfigs.

JSON representation
{
  "channelPartnerRepricingConfigs": [
    {
      object (ChannelPartnerRepricingConfig)
    }
  ],
  "nextPageToken": string
}
Fields
channelPartnerRepricingConfigs[]

object (ChannelPartnerRepricingConfig)

The repricing configs for this channel partner.

nextPageToken

string

A token to retrieve the next page of results. Pass to ListChannelPartnerRepricingConfigsRequest.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.