1POST
2{
3 "items": [
4 {
5 "itemId": "01uf4000000gmRTAAY",
6 "parentId": "802f4000000PZ1VAAW",
7 "parentRecord": {
8 "records": [
9 {
10 "messages": [],
11 "displaySequence": -1,
12 "Id": {
13 "messages": [],
14 "label": "Order Product ID",
15 "hidden": false,
16 "fieldName": "Id",
17 "editable": false,
18 "dataType": "ID",
19 "value": "802f4000000PZ1VAAW"
20 },
21 "UnitPrice": {
22 "messages": [],
23 "label": "Unit Price",
24 "hidden": true,
25 "fieldName": "UnitPrice",
26 "editable": false,
27 "dataType": "CURRENCY",
28 "value": 358.95
29 },
30 "productId": "01tf4000000Kd0uAAC",
31 "defaultQuantity": 1,
32 "minQuantity": 0,
33 "maxQuantity": 99999,
34 "groupMinQuantity": 0,
35 "groupMaxQuantity": 99999,
36 "sequenceNumber": 1,
37 "productHierarchyPath": "01tf4000000Kd0uAAC",
38 "itemType": "lineItem",
39 "childProducts": {
40 "records": [
41 {
42 "Name": {
43 "label": "Product Name",
44 "value": "PRODUCT-77151"
45 },
46 "UnitPrice": {
47 "label": "List Price",
48 "value": 0
49 },
50 "vlocity_cmt__RecurringPrice__c": {
51 "label": "Recurring Price",
52 "value": 0
53 },
54 "Product2Id": {
55 "label": "Product ID",
56 "value": "01tf4000000Kd0zAAC"
57 },
58 "Pricebook2Id": {
59 "label": "Price Book ID",
60 "value": "01sf4000003LYn3AAG"
61 },
62 "Id": {
63 "label": "Price Book Entry ID",
64 "value": "01uf4000000gmRTAAY"
65 },
66 "defaultQuantity": 0,
67 "productId": "01tf4000000Kd0zAAC",
68 "Product2": {
69 "Name": "PRODUCT-77151",
70 "RecordTypeId": "012f40000004zEOAAY",
71 "vlocity_cmt__IsConfigurable__c": false,
72 "vlocity_cmt__SubType__c": "None",
73 "vlocity_cmt__Type__c": "None"
74 },
75 "messages": [],
76 "actions": {
77 "addtocart": {
78 "rest": {
79 "params": {
80 "price": true,
81 "validate": true,
82 "includeAttachment": false,
83 "pagesize": 20,
84 "items": [
85 {
86 "parentId": "802f4000000PZ1VAAW",
87 "quantity": 0,
88 "itemId": "01uf4000000gmRTAAY"
89 }
90 ],
91 "cartId": "801f4000000ChZjAAK"
92 },
93 "method": "POST",
94 "link": "/services/apexrest/vlocity_cmt/v2/cpq/carts/801f4000000ChZjAAK/items"
95 },
96 "remote": {
97 "params": {
98 "price": true,
99 "validate": true,
100 "includeAttachment": false,
101 "pagesize": 20,
102 "items": [
103 {
104 "parentId": "802f4000000PZ1VAAW",
105 "quantity": 0,
106 "itemId": "01uf4000000gmRTAAY"
107 }
108 ],
109 "cartId": "801f4000000ChZjAAK",
110 "methodName": "postCartsItems"
111 }
112 },
113 "client": {
114 "params": {
115 "pagesize": 0,
116 }
117 }
118 }
119 }
120 }
121 ]
122 },
123 "vlocity_cmt__RecurringPrice__c": 527.96,
124 "name": "PRODUCT-39982",
125 "provisioningStatus": "New",
126 "Product2Id": "01tf4000000Kd0uAAC",
127 "PricebookEntryId": {
128 "messages": [],
129 "label": "Price Book Entry ID",
130 "hidden": false,
131 "fieldName": "PricebookEntryId",
132 "editable": false,
133 "dataType": "REFERENCE",
134 "value": "01uf4000000gmRJAAY"
135 },
136 "Quantity": {
137 "messages": [],
138 "label": "Quantity",
139 "hidden": false,
140 "fieldName": "Quantity",
141 "editable": true,
142 "dataType": "DOUBLE",
143 "value": 1
144 },
145 "vlocity_cmt__OneTimeTotal__c": {
146 "messages": [],
147 "label": "One Time Total",
148 "hidden": false,
149 "fieldName": "vlocity_cmt__OneTimeTotal__c",
150 "editable": false,
151 "dataType": "CURRENCY",
152 "value": 358.95
153 },
154 "vlocity_cmt__RecurringTotal__c": {
155 "messages": [],
156 "label": "Recurring Total",
157 "hidden": false,
158 "fieldName": "vlocity_cmt__RecurringTotal__c",
159 "editable": false,
160 "dataType": "CURRENCY",
161 "value": 527.96
162 },
163 "vlocity_cmt__ProvisioningStatus__c": {
164 "messages": [],
165 "label": "Provisioning Status",
166 "hidden": true,
167 "fieldName": "vlocity_cmt__ProvisioningStatus__c",
168 "editable": false,
169 "dataType": "STRING",
170 "value": "New"
171 },
172 "vlocity_cmt__ProductHierarchyPath__c": {
173 "messages": [],
174 "label": "Product Hierarchy Path",
175 "hidden": true,
176 "fieldName": "vlocity_cmt__ProductHierarchyPath__c",
177 "editable": false,
178 "dataType": "STRING",
179 "value": "01tf4000000Kd0uAAC"
180 },
181 "vlocity_cmt__LineNumber__c": {
182 "messages": [],
183 "label": "LineNumber",
184 "hidden": true,
185 "fieldName": "vlocity_cmt__LineNumber__c",
186 "editable": false,
187 "dataType": "STRING",
188 "value": "0001"
189 },
190 "vlocity_cmt__RootItemId__c": {
191 "messages": [],
192 "label": "RootItemId",
193 "hidden": true,
194 "fieldName": "vlocity_cmt__RootItemId__c",
195 "editable": false,
196 "dataType": "STRING",
197 "value": "802f4000000PZ1VAAW"
198 },
199 "ListPrice": {
200 "messages": [],
201 "label": "List Price",
202 "hidden": true,
203 "fieldName": "ListPrice",
204 "editable": false,
205 "dataType": "CURRENCY",
206 "value": 358.95
207 },
208 "vlocity_cmt__OneTimeCharge__c": {
209 "messages": [],
210 "label": "One Time Charge",
211 "hidden": true,
212 "fieldName": "vlocity_cmt__OneTimeCharge__c",
213 "editable": false,
214 "dataType": "CURRENCY",
215 "value": 358.95
216 },
217 "vlocity_cmt__RecurringCharge__c": {
218 "messages": [],
219 "label": "Recurring Charge",
220 "hidden": true,
221 "fieldName": "vlocity_cmt__RecurringCharge__c",
222 "editable": false,
223 "dataType": "CURRENCY",
224 "value": 527.96
225 },
226 "vlocity_cmt__RecurringManualDiscount__c": {
227 "messages": [],
228 "label": "Recurring Manual Discount",
229 "hidden": false,
230 "fieldName": "vlocity_cmt__RecurringManualDiscount__c",
231 "editable": true,
232 "dataType": "PERCENT",
233 "value": 0
234 },
235 "vlocity_cmt__OneTimeManualDiscount__c": {
236 "messages": [],
237 "label": "One Time Manual Discount",
238 "hidden": false,
239 "fieldName": "vlocity_cmt__OneTimeManualDiscount__c",
240 "editable": true,
241 "dataType": "PERCENT",
242 "value": 0
243 },
244 "vlocity_cmt__ParentItemId__c": {
245 "messages": [],
246 "label": "ParentItemId",
247 "hidden": true,
248 "fieldName": "vlocity_cmt__ParentItemId__c",
249 "editable": false,
250 "dataType": "STRING"
251 },
252 "PricebookEntry": {
253 "Product2Id": "01tf4000000Kd0uAAC",
254 "Pricebook2Id": "01sf4000003LYn3AAG",
255 "Id": "01uf4000000gmRJAAY",
256 "Product2": {
257 "Name": "PRODUCT-39982",
258 "Id": "01tf4000000Kd0uAAC",
259 "vlocity_cmt__Type__c": "None",
260 "vlocity_cmt__IsConfigurable__c": "false"
261 }
262 },
263 "Product2": {
264 "Name": "PRODUCT-39982",
265 "RecordTypeId": "012f40000004zEOAAY",
266 "vlocity_cmt__IsConfigurable__c": false,
267 "vlocity_cmt__SubType__c": "None",
268 "vlocity_cmt__Type__c": "None"
269 },
270 "vlocity_cmt__ItemName__c": {
271 "messages": [],
272 "label": "Item Name",
273 "hidden": false,
274 "fieldName": "vlocity_cmt__ItemName__c",
275 "editable": true,
276 "dataType": "STRING"
277 },
278 "actions": {
279 "addtocart": {
280 "rest": {
281 "params": {
282 "price": true,
283 "validate": true,
284 "includeAttachment": false,
285 "pagesize": 20,
286 "items": [
287 {
288 "parentId": "802f4000000PZ1VAAW",
289 "quantity": 1,
290 "itemId": "01uf4000000gmRJAAY"
291 }
292 ],
293 "cartId": "801f4000000ChZjAAK"
294 },
295 "method": "POST",
296 "link": "/services/apexrest/vlocity_cmt/v2/cpq/carts/801f4000000ChZjAAK/items"
297 },
298 "remote": {
299 "params": {
300 "price": true,
301 "validate": true,
302 "includeAttachment": false,
303 "pagesize": 20,
304 "items": [
305 {
306 "parentId": "802f4000000PZ1VAAW",
307 "quantity": 1,
308 "itemId": "01uf4000000gmRJAAY"
309 }
310 ],
311 "cartId": "801f4000000ChZjAAK",
312 "methodName": "postCartsItems"
313 }
314 },
315 "client": {
316 "params": {
317 "pagesize": 0,
318 }
319 }
320 },
321 "cloneitem": {
322 "rest": {
323 "params": {
324 "pagesize": 0,
325 "items": [
326 {
327 "quantity": 0,
328 "itemId": "802f4000000PZ1VAAW"
329 }
330 ],
331 "cartId": "801f4000000ChZjAAK"
332 },
333 "method": "POST",
334 "link": "/services/apexrest/vlocity_cmt/v2/cpq/carts/801f4000000ChZjAAK/items/clone"
335 },
336 "remote": {
337 "params": {
338 "pagesize": 0,
339 "items": [
340 {
341 "quantity": 0,
342 "itemId": "802f4000000PZ1VAAW"
343 }
344 ],
345 "cartId": "801f4000000ChZjAAK",
346 "methodName": "cloneItems"
347 }
348 },
349 "client": {
350 "params": {
351 "pagesize": 0,
352 }
353 }
354 }
355 },
356 "isVirtualItem": false
357 }
358 ]
359 }
360 }
361 ],
362 "pagesize": 0,
363 "levelBasedApproach": false
364}