Updated eComm Order

Information about an updated ecommerce order

Payload

The payload of this webhook request is an object.
triggerTypestringOptional

The type of event that triggered the request

payloadobjectOptional

Response

200
any
Return a 200 status to indicate that the data was received successfully.
Payload
1{
2 "triggerType": "ecomm_order_changed",
3 "payload": {
4 "orderId": "fc7-128",
5 "status": "refunded",
6 "comment": "Customer requested gift wrapping and a personalized note saying: Happy Birthday, Ford! 🎉 Please ensure the item is packed with extra bubble wrap for safe transit.",
7 "orderComment": "Please gift wrap with a personal note saying \"Happy Birthday, Ford! 🎉",
8 "acceptedOn": "2024-03-29T21:29:21Z",
9 "fulfilledOn": "2024-03-29T21:29:21Z",
10 "refundedOn": "2024-04-08T18:25:04Z",
11 "disputedOn": "2024-03-29T21:29:21Z",
12 "disputeUpdatedOn": "2024-03-29T21:29:21Z",
13 "disputeLastStatus": "charge_refunded",
14 "customerPaid": {
15 "unit": "USD",
16 "value": "5892",
17 "string": " 118.73 USD"
18 },
19 "netAmount": {
20 "unit": "USD",
21 "value": "5892",
22 "string": " 112.62 USD"
23 },
24 "applicationFee": {
25 "unit": "USD",
26 "value": "5892",
27 "string": " 2.37 USD"
28 },
29 "allAddresses": [
30 {
31 "type": "billing",
32 "addressee": "Arthur Dent",
33 "line1": "20 W 34th St",
34 "line2": "Empire State Building",
35 "city": "New York",
36 "state": "New York",
37 "country": "US",
38 "postalCode": "10118"
39 },
40 {
41 "type": "shipping",
42 "addressee": "Arthur Dent",
43 "line1": "20 W 34th St",
44 "line2": "Empire State Building",
45 "city": "New York",
46 "state": "New York",
47 "country": "US",
48 "postalCode": "10118"
49 }
50 ],
51 "shippingAddress": {
52 "type": "shipping",
53 "japanType": "kanji",
54 "addressee": "Arthur Dent",
55 "line1": "20 W 34th St",
56 "line2": "Empire State Building",
57 "city": "New York",
58 "state": "New York",
59 "country": "US",
60 "postalCode": "10118"
61 },
62 "billingAddress": {
63 "type": "billing",
64 "addressee": "Arthur Dent",
65 "line1": "20 W 34th St",
66 "line2": "Empire State Building",
67 "city": "New York",
68 "state": "New York",
69 "country": "US",
70 "postalCode": "10118"
71 },
72 "shippingProvider": "Shipping Company, Co.",
73 "shippingTracking": "tr00000000001",
74 "shippingTrackingURL": "https://www.shippingcompany.com/tracking/tr00000000001",
75 "customerInfo": {
76 "fullName": "Arthur Dent",
77 "email": "arthur.dent@example.com"
78 },
79 "purchasedItems": [
80 {
81 "count": 1,
82 "rowTotal": {
83 "unit": "USD",
84 "value": "5892",
85 "string": " 55.61 USD"
86 },
87 "productId": "66072fb61b89448912e26791",
88 "productName": "Luxurious Fresh Ball",
89 "productSlug": "luxurious-fresh-ball",
90 "variantId": "66072fb71b89448912e2683f",
91 "variantName": "Luxurious Fresh Ball Generic: Bronze, Practical: Plastic",
92 "variantSlug": "luxurious-fresh-ball-generic-bronze-practical-plastic",
93 "variantSKU": "luxurious-fresh-ball-generic-bronze-practical-plastic",
94 "variantImage": {
95 "url": "https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2672c_image14.jpeg"
96 },
97 "variantPrice": {
98 "unit": "USD",
99 "value": "5892",
100 "string": " 55.61 USD"
101 },
102 "weight": 11,
103 "width": 82,
104 "height": 70,
105 "length": 9
106 },
107 {
108 "count": 1,
109 "rowTotal": {
110 "unit": "USD",
111 "value": "5892",
112 "string": " 53.44 USD"
113 },
114 "productId": "66072fb61b89448912e26799",
115 "productName": "Recycled Steel Gloves",
116 "productSlug": "recycled-steel-gloves",
117 "variantId": "66072fb91b89448912e26ab9",
118 "variantName": "Recycled Steel Gloves Electronic: Granite, Handcrafted: grey",
119 "variantSlug": "recycled-steel-gloves-electronic-granite-handcrafted-grey",
120 "variantSKU": "recycled-steel-gloves-electronic-granite-handcrafted-grey",
121 "variantImage": {
122 "url": "https://d1otoma47x30pg.cloudfront.net/66072f39417a2a35b2589cc7/66072fb51b89448912e2671e_image2.jpeg"
123 },
124 "variantPrice": {
125 "unit": "USD",
126 "value": "5892",
127 "string": " 53.44 USD"
128 },
129 "weight": 38,
130 "width": 76,
131 "height": 85,
132 "length": 40
133 }
134 ],
135 "purchasedItemsCount": 2,
136 "stripeDetails": {
137 "paymentMethod": "pm_1OzmzBJYFi4lcbXWHKNdXU7j",
138 "paymentIntentId": "pi_3OzmzDJYFi4lcbXW1hTBW6ft",
139 "customerId": "cus_PpRsNHwWdUoRKR",
140 "chargeId": "ch_3OzmzDJYFi4lcbXW1ndkkrH2",
141 "refundId": "re_3OzmzDJYFi4lcbXW1kFAmlBk",
142 "refundReason": "fraudulent"
143 },
144 "stripeCard": {
145 "last4": "4242",
146 "brand": "Visa",
147 "ownerName": "Arthur Dent",
148 "expires": {
149 "year": 2024,
150 "month": 4
151 }
152 },
153 "customData": [
154 {
155 "key": "value"
156 }
157 ],
158 "metadata": {
159 "isBuyNow": false
160 },
161 "isCustomerDeleted": false,
162 "isShippingRequired": true,
163 "hasDownloads": false,
164 "paymentProcessor": "stripe",
165 "totals": {
166 "subtotal": {
167 "unit": "USD",
168 "value": "5892",
169 "string": " 109.05 USD"
170 },
171 "extras": [
172 {
173 "type": "tax",
174 "name": "State Taxes",
175 "description": "NY Taxes (4.00%)",
176 "price": {
177 "unit": "USD",
178 "value": "5892",
179 "string": " 4.36 USD"
180 }
181 },
182 {
183 "type": "tax",
184 "name": "City Taxes",
185 "description": "NEW YORK Taxes (4.88%)",
186 "price": {
187 "unit": "USD",
188 "value": "5892",
189 "string": " 5.32 USD"
190 }
191 },
192 {
193 "type": "shipping",
194 "name": "Flat",
195 "description": "",
196 "price": {
197 "unit": "USD",
198 "value": "5892",
199 "string": " 0.00 USD"
200 }
201 }
202 ],
203 "total": {
204 "unit": "USD",
205 "value": "5892",
206 "string": " 118.73 USD"
207 }
208 },
209 "downloadFiles": [
210 {
211 "id": "5e9a5eba75e0ac242e1b6f64",
212 "name": "New product guide",
213 "url": "https://webflow.com/dashboard/download-digital-product?payload=5d93ba5e38c6b0160ab711d3;e7634a;5eb1aac72912ec06f561278c;5e9a5eba75e0ac242e1b6f63:ka2nehxy:4a1ee0a632feaab94294350087215ed89533f2f530903e3b933b638940e921aa"
214 }
215 ]
216 }
217}
Built with