Updates a CustomerRepricingConfig. Call this method to set modifications for a specific customer's bill. This method overwrites the existing CustomerRepricingConfig.
[[["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 webpage details how to update a CustomerRepricingConfig, which allows for modifications to a specific customer's bill, overwriting any existing configurations.\u003c/p\u003e\n"],["\u003cp\u003eUpdates can only be made to configurations for future months; current month changes require the \u003ccode\u003ecustomerRepricingConfigs.create\u003c/code\u003e method, while past months are not editable.\u003c/p\u003e\n"],["\u003cp\u003eThe update operation uses a PATCH HTTP request targeting a specific resource identified by \u003ccode\u003ecustomerRepricingConfig.name\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003ePossible error responses include PERMISSION_DENIED, INVALID_ARGUMENT, NOT_FOUND, and INTERNAL, each indicating different issues with the request or system state.\u003c/p\u003e\n"],["\u003cp\u003eSuccessfully updating a \u003ccode\u003eCustomerRepricingConfig\u003c/code\u003e will return the modified resource in the response body.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.customers.customerRepricingConfigs.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 CustomerRepricingConfig. Call this method to set modifications for a specific customer's bill. This method overwrites the existing CustomerRepricingConfig.\n\nYou can only update configs if the [RepricingConfig.effective_invoice_month](/channel/docs/reference/rest/v1/RepricingConfig#FIELDS.effective_invoice_month) is a future month. To make changes to configs for the current month, use [customerRepricingConfigs.create](/channel/docs/reference/rest/v1/accounts.customers.customerRepricingConfigs/create#google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig), taking note of its restrictions. You cannot update the [RepricingConfig.effective_invoice_month](/channel/docs/reference/rest/v1/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 [CustomerRepricingConfig](/channel/docs/reference/rest/v1/accounts.customers.customerRepricingConfigs#CustomerRepricingConfig) 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 [CustomerRepricingConfig](/channel/docs/reference/rest/v1/accounts.customers.customerRepricingConfigs#CustomerRepricingConfig) resource, otherwise returns an error.\n\n### HTTP request\n\n`PATCH https://cloudchannel.googleapis.com/v1/{customerRepricingConfig.name=accounts/*/customers/*/customerRepricingConfigs/*}`\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 [CustomerRepricingConfig](/channel/docs/reference/rest/v1/accounts.customers.customerRepricingConfigs#CustomerRepricingConfig).\n\n### Response body\n\nIf successful, the response body contains an instance of [CustomerRepricingConfig](/channel/docs/reference/rest/v1/accounts.customers.customerRepricingConfigs#CustomerRepricingConfig).\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)."]]