Revenue API
/- Edit custom attributes of a contract line
Edit several POBs of a contract
Edit one POB of a contract
Copy a line into a new manual POB
Switch the lead line of a POB
Move a POB to a different derived POB
Edit custom attributes of...
Purpose
Updates the custom attributes of one revenue contract line: text attributes atr1-atr60, number attributes num1-num15, and date attributes date1-date5. Only the attributes you send change.
When to use
- Correct or enrich reporting attributes (region, segment, product family) on a line after it was collected.
- Prices, quantities, and transaction dates cannot be changed with this operation.
Security
bearerAuth
Current version of the revenue contract, used for optimistic locking. Omit it to use the contract's current version. If you send a version that is no longer current, the revenue engine rejects the action.
Example:5
- Productionhttps://one.zuora.com/revenue/services/v1/revenue-management/contracts/{rcId}/lines/{lineId}/edit
{ "comments": "Segment correction", "atr1": "EMEA" }
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": "Line updated successfully" }