Update a product charge definition.
Note: This operation requires the Attribute-based Pricing feature to be enabled, which is in the Early Adopter phase.
Accept-Encoding | string Include the If specified, Zuora automatically compresses responses that contain over 1000 bytes of data, and the response contains a |
Content-Encoding | string Include the |
Authorization | string The value is in the |
Zuora-Track-Id | string <= 64 characters A custom identifier for tracing the API call. If you set a value for this header, Zuora returns the same value in the response headers. This header enables you to associate your system process identifiers with Zuora API calls, to assist with troubleshooting in the event of an issue. The value of this field must use the US-ASCII character set and must not include any of the following characters: colon ( |
Zuora-Entity-Ids | string An entity ID. If you have Zuora Multi-entity enabled and the OAuth token is valid for more than one entity, you must use this header to specify which entity to perform the operation in. If the OAuth token is only valid for a single entity, or you do not have Zuora Multi-entity enabled, you should not set this header. |
billingPeriod | string The override value of the billingPeriod for the product charge definition. |
billingTiming | string The override value of the billingTiming for the product charge definition. |
chargeModel | string Determines how to calculate charges. Charge models must be individually activated in Zuora Billing administration. |
defaultQuantity | number or null The default quantity. This field is applicable only for one-time and recurring charges. |
effectiveEndDate | string <date-time> The effective end date of the product charge definition. |
effectiveStartDate | string <date-time> The effective start date of the product charge definition. |
listPriceBase | string The list price base. This field is applicable only for recurring charges. Note: The |
Array of objects (prices) Container for the new prices to override the existing prices of the product charge definition. | |
specificBillingPeriod | number or null The override value of the specificBillingPeriod for the product charge definition. |
specificListPriceBase | integer or null <int32> [ 1 .. 200 ] The number of months for the list price base of the charge definition.
The field is |
taxCode | string <= 64 characters Specifies the tax code for taxation rules. This field is equired when the Note: This value affects the tax calculation of the charge. |
taxMode | string or null Determines how to define taxation for the charge. This field is equired when the Note: This value affects the tax calculation of the charge. |
taxable | boolean Determines whether the charge definition is taxable. When this field is set to Character limit: 5 Values: Note: This value affects the tax calculation of the charge. |
term | number or null The number of periods of a termed subscription that is eligible for this charge definition. This field is applicable when the |
termPeriodType | string or null Specifies the period type for the subscription term that is eligible for this charge definition. |
termType | string or null The type of the subscription that is eligible for this charge definition. |
uom | string or null Describes the unit of measure (UOM) configured in Settings > Billing. Values: |
Internal Server Error
Request Errors
{- "billingPeriod": "Specific_Months",
- "defaultQuantity": 10,
- "effectiveEndDate": "2024-07-01 00:00:00",
- "effectiveStartDate": "2024-01-01 00:00:00",
- "listPriceBase": "Per_Billing_Period",
- "prices": [
- {
- "currency": "USD",
- "price": 15
}
], - "specificBillingPeriod": 5,
- "specificListPriceBase": 10,
- "term": 12,
- "termPeriodType": "Month",
- "termType": "TERMED",
- "uom": "Each"
}
{- "applyDiscountTo": null,
- "billingPeriod": "Month",
- "billingPeriodAlignment": "AlignToCharge",
- "billingTiming": "IN_ADVANCE",
- "chargeModel": "FlatFee",
- "defaultQuantity": 1,
- "discountClass": null,
- "discountLevel": null,
- "effectiveEndDate": "2023-10-13 09:00:00",
- "effectiveStartDate": "2022-10-07 09:00:00",
- "isDefault": true,
- "listPriceBase": "Per_Billing_Period",
- "numberOfPeriods": null,
- "prices": [
- {
- "currency": "USD",
- "price": 10
}
], - "productChargeDefinitionId": "2c9890f78b0d09d2018b0d13c7fd0004",
- "productChargeDefinitionNumber": "CD-00000201",
- "productRatePlanChargeId": "2c9890f78b0d09d2018b0d13c7fd0004",
- "productRatePlanChargeNumber": null,
- "productRatePlanId": null,
- "productRatePlanName": null,
- "productRatePlanNumber": null,
- "ratingGroup": null,
- "smoothingModel": null,
- "specificBillingPeriod": null,
- "specificListPriceBase": null,
- "success": true,
- "taxCode": "",
- "taxMode": null,
- "taxable": false,
- "term": null,
- "termPeriodType": null,
- "termType": null,
- "uom": null
}