Create Ramp Deal (POST)
Create a ramp deal for a customer on a product. Sales reps can use
ramp deals to provide yearly deals to a customer, resulting in long-term revenue and customer
relationship. A customer can create, update, or view multiple segments of periods for their
subscription term with different attributes for each segment.
This API request creates segments based on the specified input properties such as term, segment type, and trial details. The API response includes the context ID and the updated context object for the sales transaction. You must call the Place Sales Transaction (POST) API by specifying this context ID to apply the ramp deal updates. See Place Sales Transaction (POST) API.
- Resource
-
/connect/revenue-management/sales-transaction-contexts/resourceId/actions/ramp-deal-create
- Resource example
-
https://yourInstance.salesforce.com/services/data/v64.0/connect/revenue-management/sales-transaction-contexts/0QLxx0000004CfIGAU/actions/ramp-deal-create
- Available version
- 62.0
- HTTP methods
- POST
- Path parameter for POST
-
Name Type Description Required or Optional Available Version resourceId String ID of the quote line item, order item, or context.
Required 62.0 - Request body for POST
-
- JSON example
-
{ "transactionId": "0Q0xx0000004C92CAE", "transactionLineId": "0QLxx0000004C9VGAU", "subscriptionTerm": 14, "subscriptionTermUnit": "MONTHS", "trialTerm": 45, "trialTermUnit": "DAYS", "segmentType": "YEARLY", "executionSettings": { "executePricing": true, "executeConfigRules": false } }
- Properties
-
Name Type Description Required or Optional Available Version executionSettings Execution Settings Input[] Settings to run the pricing or configuration rules. Optional 62.0 segmentType String Type of segment that the user wants to create. Valid values are:
- FREE_TRIAL
- CUSTOM
- YEARLY
Required 62.0 subscriptionTerm Integer Subscription length of the term-defined product. Required 62.0 subscriptionTermUnit String Unit of time for the subscription length. Valid value is:
- MONTHS
Required 62.0 transactionId String ID of the sales transaction that’s configured, such as quote or order. Required 62.0 transactionLineId String Quote line item ID or order item ID that the price ramp is created for. Required 62.0 trialTerm Integer Length of the trial period, if any. Optional 62.0 trialTermUnit String Unit of time for the trial period. Valid value is:
- DAYS
Optional. Required if trialTerm property is specified. 62.0
- Response body for POST
- Ramp Deal Service