Revenue API
/- Release cost on a contract line
Defer cost on a contract line
Release cost on a contrac...
Purpose
Releases a deferred cost on a revenue contract line so it is expensed, fully or partially by amount, percentage, or quantity.
When to use
- A deferred cost must be expensed now, for example when the contract is terminated.
- Send
releaseAmount,releasePercentage, orreleaseQuantityfor a partial release.
Behavior notes
Errors from the revenue engine for this operation are returned as HTTP 200 with success: false and the generic message shown in the examples, not as 4xx/5xx responses.
Security
bearerAuth
- Productionhttps://one.zuora.com/revenue/services/v1/revenue-management/contracts/{rcId}/release-cost
{ "lineId": 85922, "costTypeId": 10000, "comments": "Releasing deferred commission", "releaseAmount": 500 }
Processed. success: true means the action completed; success: false means a business rule rejected it and message explains why.
true when the action completed. false when the revenue engine rejected it under a business rule; see message.
Unique ID generated for this request. Quote it when you contact Zuora Global Support.
Response
{ "success": true, "processId": "3f1c2a7e-9b4d-4c1e-8a55-2d6f0e9b1c11", "message": "Cost released successfully" }