Revenue API
/- List variable consideration types for a line
Apply variable consideration to a line
Expire variable consideration
List variable considerati...
Purpose
Returns the variable consideration (VC) types that can still be applied to a line: enabled types that are configured on the line's POB template and not already applied to the line.
When to use
- Before applying variable consideration, to find a valid
vcTypeId.
Behavior notes
Pass the lead line of the POB as rcLineId; other lines return an empty list. An unknown contract or line also returns an empty list. rcLineId is required; omitting it returns HTTP 500.
Security
bearerAuth
- Productionhttps://one.zuora.com/revenue/services/v1/revenue-management/contracts/{rcId}/vc-types
curl -i -X GET \
'https://one.zuora.com/revenue/services/v1/revenue-management/contracts/111442/vc-types?rcLineId=85922&vcRuleType=E' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'X-REV-BOOK-ID: 1' \
-H 'Zuora-Request-Id: b8f1c2d4-6e1a-4c7b-9d2e-0f3a5b7c9e11'Applicable variable consideration types, sorted by name. Empty when none apply.
Response
[ { "id": 1, "value": "Rebate" }, { "id": 2, "value": "Volume Discount" } ]