Updates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. This method overwrites the existing CustomerRepricingConfig.
Output only. Resource name of the ChannelPartnerRepricingConfig. Format: accounts/{account_id}/channelPartnerLinks/{channelPartnerId}/channelPartnerRepricingConfigs/{id}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-19 UTC."],[[["\u003cp\u003eThis method updates an existing ChannelPartnerRepricingConfig, which modifies a specific ChannelPartner's billing configuration, overwriting any existing CustomerRepricingConfig.\u003c/p\u003e\n"],["\u003cp\u003eUpdates are only permitted for future invoice months, as indicated by the RepricingConfig.effective_invoice_month; changes for the current month require using the channelPartnerRepricingConfigs.create method.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the channelPartnerRepricingConfig.name path parameter and utilizes a PATCH HTTP method with a specific URL format.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful operations return the updated ChannelPartnerRepricingConfig, while errors can include PERMISSION_DENIED, INVALID_ARGUMENT, NOT_FOUND, or INTERNAL, each indicating a specific type of issue.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ehttps://www.googleapis.com/auth/apps.order\u003c/code\u003e OAuth scope is required for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.channelPartnerLinks.channelPartnerRepricingConfigs.patch\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nUpdates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. This method overwrites the existing CustomerRepricingConfig.\n\nYou can only update configs if the [RepricingConfig.effective_invoice_month](/channel/docs/reference/rest/v1alpha1/RepricingConfig#FIELDS.effective_invoice_month) is a future month. To make changes to configs for the current month, use [channelPartnerRepricingConfigs.create](/channel/docs/reference/rest/v1alpha1/accounts.channelPartnerLinks.channelPartnerRepricingConfigs/create#google.cloud.channel.v1alpha1.CloudChannelService.CreateChannelPartnerRepricingConfig), taking note of its restrictions. You cannot update the [RepricingConfig.effective_invoice_month](/channel/docs/reference/rest/v1alpha1/RepricingConfig#FIELDS.effective_invoice_month).\n\nWhen updating a config in the future:\n\n- This config must already exist.\n\nPossible Error Codes:\n\n- PERMISSION_DENIED: If the account making the request and the account being queried are different.\n- INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the updated config is for the current month or past months.\n- NOT_FOUND: The [ChannelPartnerRepricingConfig](/channel/docs/reference/rest/v1alpha1/accounts.channelPartnerLinks.channelPartnerRepricingConfigs#ChannelPartnerRepricingConfig) specified does not exist or is not associated with the given account.\n- INTERNAL: Any non-user error related to technical issues in the backend. In this case, contact Cloud Channel support.\n\nReturn Value: If successful, the updated [ChannelPartnerRepricingConfig](/channel/docs/reference/rest/v1alpha1/accounts.channelPartnerLinks.channelPartnerRepricingConfigs#ChannelPartnerRepricingConfig) resource, otherwise returns an error.\n\n### HTTP request\n\n`PATCH https://cloudchannel.googleapis.com/v1alpha1/{channelPartnerRepricingConfig.name=accounts/*/channelPartnerLinks/*/channelPartnerRepricingConfigs/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [ChannelPartnerRepricingConfig](/channel/docs/reference/rest/v1alpha1/accounts.channelPartnerLinks.channelPartnerRepricingConfigs#ChannelPartnerRepricingConfig).\n\n### Response body\n\nIf successful, the response body contains an instance of [ChannelPartnerRepricingConfig](/channel/docs/reference/rest/v1alpha1/accounts.channelPartnerLinks.channelPartnerRepricingConfigs#ChannelPartnerRepricingConfig).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/apps.order`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]