Creates a CustomerRepricingConfig. Call this method to set modifications for a specific customer's bill. You can only create configs if the RepricingConfig.effective_invoice_month is a future month. If needed, you can create a config for the current month, with some restrictions.
Required. The resource name of the customer that will receive this repricing config. Parent uses the format: accounts/{account_id}/customers/{customer_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 creates a CustomerRepricingConfig to modify a specific customer's bill, with the configuration effective for a future invoice month.\u003c/p\u003e\n"],["\u003cp\u003eCreating configurations for the current month is possible but restricted to recovering from errors, and it should not be used for regular business operations.\u003c/p\u003e\n"],["\u003cp\u003eWhen creating a config for a future month, there must be no existing configs for that effective invoice month, while there is a limit of ten configs for the current month, for any given RepricingConfig.EntitlementGranularity.entitlement.\u003c/p\u003e\n"],["\u003cp\u003eThe method accepts HTTP POST requests with specific path parameters and a request body containing CustomerRepricingConfig data, and successful requests return a new CustomerRepricingConfig.\u003c/p\u003e\n"],["\u003cp\u003ePotential errors include PERMISSION_DENIED, INVALID_ARGUMENT, NOT_FOUND, and INTERNAL, each indicating a specific issue with the request or system state.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.customers.customerRepricingConfigs.create\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\nCreates a CustomerRepricingConfig. Call this method to set modifications for a specific customer's bill. You can only create configs if the [RepricingConfig.effective_invoice_month](/channel/docs/reference/rest/v1alpha1/RepricingConfig#FIELDS.effective_invoice_month) is a future month. If needed, you can create a config for the current month, with some restrictions.\n\nWhen creating a config for a future month, make sure there are no existing configs for that [RepricingConfig.effective_invoice_month](/channel/docs/reference/rest/v1alpha1/RepricingConfig#FIELDS.effective_invoice_month).\n\nThe following restrictions are for creating configs in the current month.\n\n- This functionality is reserved for recovering from an erroneous config, and should not be used for regular business cases.\n- The new config will not modify exports used with other configs. Changes to the config may be immediate, but may take up to 24 hours.\n- There is a limit of ten configs for any [RepricingConfig.EntitlementGranularity.entitlement](/channel/docs/reference/rest/v1alpha1/RepricingConfig#EntitlementGranularity.FIELDS.entitlement), for any [RepricingConfig.effective_invoice_month](/channel/docs/reference/rest/v1alpha1/RepricingConfig#FIELDS.effective_invoice_month).\n- The contained [CustomerRepricingConfig.repricing_config](/channel/docs/reference/rest/v1alpha1/accounts.customers.customerRepricingConfigs#CustomerRepricingConfig.FIELDS.repricing_config) value must be different from the value used in the current config for a [RepricingConfig.EntitlementGranularity.entitlement](/channel/docs/reference/rest/v1alpha1/RepricingConfig#EntitlementGranularity.FIELDS.entitlement).\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`POST https://cloudchannel.googleapis.com/v1alpha1/{parent=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 a newly created 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)."]]