1{
2 "orderSummaryGraphId": "ec2f9f4b-4bbb-4fac-bacd-5058c2a46a2e",
3 "purchaseSupportDetails": [
4 {
5 "attributes": {
6 "attributes": {
7 "type": "Account"
8 },
9 "RecordTypeId": "012xx0000005zmmAAA",
10 "Name": "John Smith",
11 "Phone": "(111)-111-1111"
12 },
13 "referenceId": "refAccount"
14 },
15 {
16 "attributes": {
17 "attributes": {
18 "type": "Contact"
19 },
20 "AccountId": "@{refAccount.id}",
21 "FirstName": "John",
22 "LastName": "Smith",
23 "Email": "john.smith@example.com",
24 "Phone": "(111)-111-1111"
25 },
26 "referenceId": "refContact"
27 }
28 ],
29 "purchaseDetails": [
30 {
31 "attributes": {
32 "attributes": {
33 "type": "OrderSummary"
34 },
35 "ExternalReferenceIdentifier": "ec2f9f4b-4bbb-4fac-bacd-5058c2a46a2e",
36 "OrderNumber": "order-12345",
37 "OrderLifeCycleType": "MANAGED",
38 "BillingEmailAddress": "john.smith@example.com",
39 "BillingPhoneNumber": "(111)-111-1111",
40 "OrderedDate": "2021-07-27T01:55:15.000Z",
41 "TotalAmount": "100",
42 "GrandTotalAmount": "100",
43 "Description": "Some description",
44 "AccountId": "@{refAccount.id}",
45 "BillToContactId": "@{refContact.id}",
46 "BillingCity":"Deerfield Beach",
47 "BillingPostalCode":"33442",
48 "BillingState":"FL",
49 "BillingStreet":"1166 Sample St"
50 },
51 "referenceId": "refOrderSummary"
52 },
53 {
54 "attributes": {
55 "attributes": {
56 "type": "OrderDeliveryGroupSummary"
57 },
58 "EmailAddress": "john.smith@example.com",
59 "DeliverToCity": "Deerfield Beach",
60 "DeliverToCountry": "us",
61 "DeliverToName": "John Smith",
62 "DeliverToPostalCode": "33442",
63 "DeliverToState": "FL",
64 "DeliverToStreet": "1166 Sample St",
65 "PhoneNumber": "(111)-111-1111",
66 "OrderDeliveryMethodId": "2Dmx0000000007fCAA",
67 "OrderSummaryId": "@{refOrderSummary.id}"
68 },
69 "referenceId": "refOrderDeliveryGroup"
70 },
71 {
72 "attributes": {
73 "attributes": {
74 "type": "OrderItemSummary"
75 },
76 "Description": "TORPEDO JACKET 1",
77 "Type": "Order Product",
78 "Quantity": 1,
79 "TotalLineAmount": 79.2,
80 "LineNumber": 1,
81 "UnitPrice": 79.2,
82 "ListPrice": 79.2,
83 "OrderSummaryId": "@{refOrderSummary.id}",
84 "OrderDeliveryGroupSummaryId": "@{refOrderDeliveryGroup.id}",
85 "Product2Id": "01tx0000000jCyKAAU"
86 },
87 "referenceId": "refOrderItem_1"
88 },
89 {
90 "attributes": {
91 "attributes": {
92 "type": "OrderItemTaxLineItemSummary"
93 },
94 "Name": "2072100 - Tax",
95 "Type": "Estimated",
96 "Amount": 3.96,
97 "Rate": 0.05,
98 "TaxEffectiveDate": "2018-09-18T17:15:58.000Z",
99 "OrderItemSummaryId": "@{refOrderItem_1.id}",
100 "OrderSummaryId": "@{refOrderSummary.id}"
101 },
102 "referenceId": "refrefOrderItem_1_OrderItemTaxLineItem_1"
103 }
104 ]
105}