Welcome to Zuora Product Documentation

Explore our rich library of product information

Updating the trigger condition using the Zuora REST API

This article explains how to update the trigger condition for a charge using the Zuora REST API by setting the TriggerEvent field of the RatePlanCharge object.

You can update the trigger condition for a charge by using the Update action to set the TriggerEvent field of the RatePlanCharge object. The value of the TriggerEvent field can be one of the following:

  • ContractEffective

  • ServiceActivation

  • CustomerAcceptance

  • SpecificDate - When selected, you must set the specific trigger date in the TriggerDate field.

Request

POST /v1/action/update

Request Body

{
    "objects":[
        {
            "Id":"2c92c0f874048c1f017405ce70df2788",
            "TriggerEvent":"SpecificDate",
            "TriggerDate":"2020-09-01"
        }
    ],
    "type":"RatePlanCharge"
}