Update product charge definitions
After a charge definition is created, you can update it from the UI or through REST API.
From Zuora UI
Use the Manage Charge Definitions page to update a charge definition:
- Navigate to Products > Product Catalog.
- Find the charge that contains the target charge definition and enter the view charge or edit charge mode.
- At the bottom of the Charge Amount section, click Manage Charge Definitions. The Manage Charge Definitions page opens.
- In the Charge Definition Mapping List section, locate the charge definition and click the Edit icon on the right. The Charge Definition page opens.
- Click Edit and modify the details of the charge definition.
- Click Save to save your changes.
With REST API
Use the Update a charge definition operation to make changes to a charge definition after creation.
The following example updates the fields listed in the request body for the charge specified by the {product-charge-definition-key} in the request header.
Request | PUT /v1/product-charge-definitions/{product-charge-definition-key} |
---|---|
Request body |
{ "effectiveStartDate": "2024-01-01 00:00:00", "effectiveEndDate": "2024-07-01 00:00:00", "listPriceBase": "Per_Billing_Period", "specificListPriceBase": 10, "billingPeriod": "Specific_Months", "specificBillingPeriod": 5, "termType": "TERMED", "termPeriodType": "Month", "term": 12, "uom": "Each", "defaultQuantity": 10, "prices": [ { "price": 15, "currency": "USD" } ] } |