Pricing Output

Output representation of a Salesforce pricing request.

JSON Example 

1{
2"apiExecutionId": "612228038743152",
3"pricingExecutionId": "612229738898095",
4"pricingResult": {
5"subtotal": [
6{
7"dataPath": [
8"cart_1001",
9"lineItem_1002"
10],
11"value": 300.0,
12"errors": [],
13"isSuccess": true
14},
15{
16"dataPath": [
17"cart_1001",
18"lineItem_1001"
19],
20"value":400.0,
21"errors": [],
22"isSuccess": true
23}
24],
25"netunitprice": [
26{
27"dataPath": [
28"cart_1001",
29"lineItem_1002"
30],
31"value": xx,
32"errors": [],
33"isSuccess": true
34},
35{
36"dataPath": [
37"cart_1001",
38"lineItem_1001"
39],
40"value": xx,
41"errors": [],
42"isSuccess": true
43}
44]
45},
46"pricingResultErrors": [],
47"status": "Completed",
48}
Property NameTypeDescriptionFilter Group and VersionAvailable Version
apiExecutionIdStringUnique ID that’s generated each time a pricing API is executed.Small, 63.063.0
errorPricing Error ResponseDisplays the error encountered when the request is processed. For example, a pricing procedure isn’t found.Small, 60.060.0
pricingExecutionIdStringUnique ID that’s generated each time a pricing process is executed.Small, 63.063.0
pricing​ResultPricing ResultRepresents the outcomes associated with the output tags defined in the contextual definition for which the pricing engine establishes values. The initial attribute name is substituted for the output tag’s designation. For instance, if the original attribute name specified in the Context Definition is “Subtotal,” but during contextual setup, the output tag is denoted as “Total Price,” the API output exhibits the initial attribute name “Subtotal” in the response.Small, 60.060.0
pricing​Result​ErrorsPricing Result Error[]Errors from the pricing request, if any.Small, 60.060.0
statusStringStatus of the pricing request. Valid values are Completed — Pricing is completed for all the line items, Partially Completed — Pricing is completed for some line items, or Failed — Pricing isn’t completed for the line items.Small, 60.060.0