Delete Ramp Deal (POST)

Delete a ramp deal to convert a ramped product to include a single quote line item or order item.

This API request deletes the segments related to the product. The API response includes the updated context with the context ID. 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.

This API is applicable when you’re working with line ramps. To work with ramp deals for groups, you must use the Place Sales Transaction API and specify the groupRampActions property.

Resource 

1/connect/revenue-management/sales-transaction-contexts/{resourceId}/actions/ramp-deal-delete

Resource Example 

1https://{yourInstance}.salesforce.com/services/data/v68.0/connect/revenue-management/sales-transaction-contexts/{0QLxx0000004CfIGAU}/actions/ramp-deal-delete

Available Version 

62.0

HTTP Methods 

POST

Path Parameter for POST 

NameTypeDescriptionRequired or OptionalAvailable Version
resourceIdStringID of the context.Required62.0

Request Body for POST 

JSON Example

1{
2  "rampDealIds": [
3    "0Q0xx0000004CDxCAM",
4    "0QLxx0000004CSOGA2"
5  ]
6}

Properties

NameTypeDescriptionRequired or OptionalAvailable Version
rampDeal​IdsString[]Ramp identifier on the quote line item or order item.Required62.0

Response Body for POST 

Ramp Deal Service