Pricing (POST)
Create and hydrate context instance in a single request. Provide a comprehensive response that contains final pricing details per line items and related errors, if any.
If price waterfall is disabled from Salesforce Pricing Setup in your org, this API doesn’t return the waterfall details. You can use the Price Waterfall API to retrieve the waterfall details if price waterfall persistence is enabled in Salesforce Pricing Setup.
60.0
No
POST
JSON Example
Properties
| Name | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
configurationOverrides | Configuration Override Input | Parameters to override the pricing configuration. | Optional | 60.0 |
contextDefinitionId | String | ID of the context definition that defines the structure of the input data. | Required | 60.0 |
contextMappingId | String | ID of the context mapping that maps the input data to the context instance. | Required | 60.0 |
jsonDataString | String | Data to hydrate the context, which must be in JSON format and passed as String. Pass the JSON data as String by using the stringify() method to convert the object to string. The keys in the jsonDataString property must be in accordance to the contextMappingId property sent in the request. Make sure that the businessObjectType value within this property node is set to the sObject used in the context mappings. | Required | 60.0 |
pricingProcedureId | String | ID or API name of the pricing procedure used for calculating the prices. A pricing procedure is represented as an Expression Set Definition in the system. If you’re an Experience Cloud user, specify the name of the pricing procedure. | Optional | 60.0 |