Skip to main content

Update product charge definitions

Zuora

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:

  1. Navigate to Products > Product Catalog.
  2. Find the charge that contains the target charge definition and enter the view charge or edit charge mode.
  3. At the bottom of the Charge Amount section, click Manage Charge Definitions. The Manage Charge Definitions page opens.
  4. In the Charge Definition Mapping List section, locate the charge definition and click the Edit icon icon-edit-charge-def.png on the right. The Charge Definition page opens.
  5. Click Edit and modify the details of the charge definition.
  6. 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"
    }
  ]
}