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 modifies a specific customer's billing settings and overwrites existing configurations.\u003c/p\u003e\n"],["\u003cp\u003eUpdates to CustomerRepricingConfig are only allowed for future months, with modifications for the current month requiring the use of the \u003ccode\u003ecustomerRepricingConfigs.create\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves a PATCH HTTP request to a specific URL with required parameters and a request body containing the updated CustomerRepricingConfig instance.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful updates return the modified CustomerRepricingConfig, while errors may arise from permission issues, invalid arguments, non-existent configurations, or internal server problems.\u003c/p\u003e\n"],["\u003cp\u003eThe process requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/apps.order\u003c/code\u003e OAuth scope.\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/v1alpha1/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/v1alpha1/accounts.customers.customerRepricingConfigs/create#google.cloud.channel.v1alpha1.CloudChannelService.CreateCustomerRepricingConfig), 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 [CustomerRepricingConfig](/channel/docs/reference/rest/v1alpha1/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/v1alpha1/accounts.customers.customerRepricingConfigs#CustomerRepricingConfig) resource, otherwise returns an error.\n\n### HTTP request\n\n`PATCH https://cloudchannel.googleapis.com/v1alpha1/{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/v1alpha1/accounts.customers.customerRepricingConfigs#CustomerRepricingConfig).\n\n### Response body\n\nIf successful, the response body contains an instance of [CustomerRepricingConfig](/channel/docs/reference/rest/v1alpha1/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)."]]