Pricing Result

Output representation of the pricing result.

JSON Example 

1"pricingResult": {
2"subtotal": [
3{
4"dataPath": [
5"cart_1001",
6"lineItem_1002"
7],
8"value": 300.0,
9"errors": [],
10"isSuccess": true
11},
12{
13"dataPath": [
14"cart_1001",
15"lineItem_1001"
16],
17"value":400.0,
18"errors": [],
19"isSuccess": true
20}
21],
22"netunitprice": [
23{
24"dataPath": [
25"cart_1001",
26"lineItem_1002"
27],
28"value": xx,
29"errors": [],
30"isSuccess": true
31},
32{
33"dataPath": [
34"cart_1001",
35"lineItem_1001"
36],
37"value": xx,
38"errors": [],
39"isSuccess": true
40}
41]
42}
Property NameTypeDescriptionFilter Group and VersionAvailable Version
dataPathStringIncludes the entire data route for the specific element starting from the root node. The request must include the ID to construct the accurate data route. For example, if a jsonDataString property comprises a Cart [Id = Cart1] and its associated Cart Item [Id = CartItem1], then the data route for CartItem appears as [Cart1, CartItem1].Small, 60.060.0
errorsPricing Error Response[]Displays processing errors related to the element as recognized by the data path.Small, 60.060.0
isSuccessBooleanDisplays if processing of the element for the specified data path is successful or not.Small, 60.060.0
valueObjectDisplays the value of the element into consideration. Element is uniquely identify by the data path.Small, 60.060.0