Creates a ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner'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 ChannelPartner that will receive the repricing config. Parent uses the format: accounts/{account_id}/channelPartnerLinks/{channelPartnerId}
[[["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 ChannelPartnerRepricingConfig to modify a specific ChannelPartner's bill, effective for future months, with limited options for the current month.\u003c/p\u003e\n"],["\u003cp\u003eCreating a config for a future month requires that no other configs exist for the same effective invoice month.\u003c/p\u003e\n"],["\u003cp\u003eConfigs created for the current month are restricted and intended for recovering from erroneous configurations, with a limit of ten configs per ChannelPartner or Entitlement.\u003c/p\u003e\n"],["\u003cp\u003ePossible errors include permission issues, invalid arguments, not found resources, or internal technical issues, and a successful operation will return the updated ChannelPartnerRepricingConfig resource.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses POST to a specific URL with required path parameters and the request/response bodies are of the type ChannelPartnerRepricingConfig, needing the \u003ccode\u003ehttps://www.googleapis.com/auth/apps.order\u003c/code\u003e authorization scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.channelPartnerLinks.channelPartnerRepricingConfigs.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 ChannelPartnerRepricingConfig. Call this method to set modifications for a specific ChannelPartner's bill. You can only create configs if the [RepricingConfig.effective_invoice_month](/channel/docs/reference/rest/v1/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/v1/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 ChannelPartner or [RepricingConfig.EntitlementGranularity.entitlement](/channel/docs/reference/rest/v1/RepricingConfig#EntitlementGranularity.FIELDS.entitlement), for any [RepricingConfig.effective_invoice_month](/channel/docs/reference/rest/v1/RepricingConfig#FIELDS.effective_invoice_month).\n- The contained [ChannelPartnerRepricingConfig.repricing_config](/channel/docs/reference/rest/v1/accounts.channelPartnerLinks.channelPartnerRepricingConfigs#ChannelPartnerRepricingConfig.FIELDS.repricing_config) value must be different from the value used in the current config for a ChannelPartner.\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/v1/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/v1/accounts.channelPartnerLinks.channelPartnerRepricingConfigs#ChannelPartnerRepricingConfig) resource, otherwise returns an error.\n\n### HTTP request\n\n`POST https://cloudchannel.googleapis.com/v1/{parent=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/v1/accounts.channelPartnerLinks.channelPartnerRepricingConfigs#ChannelPartnerRepricingConfig).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [ChannelPartnerRepricingConfig](/channel/docs/reference/rest/v1/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)."]]