Update the calculated charge using the REST API
Learn how to update a calculated charge’s percentage and reset its minimum and maximum amounts using the updateProduct order action.
Update a calculated charge using the updateProduct order action.
You can update the following attributes of a calculated charge:
-
minimumAmount -
maximumAmount -
percentage -
eligibleAccountConditions -
eligibleChargeConditions -
clearingExistingMinimumAmount(set it to “true” to reset the amount to null) -
clearingExistingMaximumAmount(set it to “true” to reset the amount to null)
The example order requests allows you to update the calculated charge’s percentage from 10% to 5% from 2025-12-11. Reset the minimum and maximum amount to Null.