New eComm Order

Payload

The payload of this webhook request is an object.
orderIdstringOptional

The order ID. Will usually be 6 hex characters, but can also be 9 hex characters if the site has a very large number of Orders. Randomly assigned.

statusenumOptional

The status of the Order

commentstringOptional

A comment string for this Order, which is editable by API user (not used by Webflow).

orderCommentstringOptional

A comment that the customer left when making their Order

acceptedOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

The ISO8601 timestamp that an Order was placed.

fulfilledOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

When an Order is marked as ‘fulfilled’, this field represents the timestamp of the fulfillment in ISO8601 format. Otherwise, it is null.

refundedOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

When an Order is marked as ‘refunded’, this field represents the timestamp of the fulfillment in ISO8601 format. Otherwise, it is null.

disputedOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

When an Order is marked as ‘disputed’, this field represents the timestamp of the fulfillment in ISO8601 format. Otherwise, it is null.

disputeUpdatedOndatetimeOptionalDefaults to 1970-01-01T00:00:00.000Z

If an Order has been disputed by the customer, this key will be set to the ISO8601 timestamp of the last update received. If the Order is not disputed, the key will be null.

disputeLastStatusenumOptional

If an order was disputed by the customer, then this key will be set with the dispute’s status.

customerPaidobjectOptional

The total paid by the customer

netAmountobjectOptional

The net amount after application fees

applicationFeeobjectOptional

The application fee assessed by the platform

allAddresseslist of objectsOptional

All addresses provided by the customer during the ordering flow.

shippingAddressobjectOptional

The shipping address

billingAddressobjectOptional

The billing address

shippingProviderstringOptional

A string editable by the API user to note the shipping provider used (not used by Webflow).

shippingTrackingstringOptional

A string editable by the API user to note the shipping tracking number for the order (not used by Webflow).

shippingTrackingURLstringOptional
customerInfoobjectOptional

An object with the keys fullName and email.

purchasedItemslist of objectsOptional

An array of all things that the Customer purchased.

purchasedItemsCountdoubleOptional

The sum of all ‘count’ fields in ‘purchasedItems’.

stripeDetailsobjectOptional

An object with various Stripe IDs, useful for linking into the stripe dashboard.

stripeCardobjectOptional

Details on the card used to fulfill this order, if this order was finalized with Stripe.

paypalDetailsobjectOptional
customDatalist of maps from strings to anyOptional

An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value.

metadataobjectOptional
isCustomerDeletedbooleanOptionalDefaults to false

A boolean indicating whether the customer has been deleted from the site.

isShippingRequiredbooleanOptionalDefaults to false

A boolean indicating whether the order contains one or more purchased items that require shipping.

hasDownloadsbooleanOptionalDefaults to false

A boolean indicating whether the order contains one or more purchased items that are downloadable.

paymentProcessorstringOptional

A string indicating the payment processor used for this order.

totalsobjectOptional

An object describing various pricing totals

downloadFileslist of objectsOptional

An array of downloadable file objects.

Response

200
any
Return a 200 status to indicate that the data was received successfully.
Payload
1{
2 "orderId": "string",
3 "status": "pending",
4 "comment": "string",
5 "orderComment": "string",
6 "acceptedOn": "2023-01-01T00:00:00Z",
7 "fulfilledOn": "2023-01-01T00:00:00Z",
8 "refundedOn": "2023-01-01T00:00:00Z",
9 "disputedOn": "2023-01-01T00:00:00Z",
10 "disputeUpdatedOn": "2023-01-01T00:00:00Z",
11 "disputeLastStatus": "warning_needs_response",
12 "customerPaid": {
13 "unit": "string",
14 "value": "string",
15 "string": "string"
16 },
17 "netAmount": {
18 "unit": "string",
19 "value": "string",
20 "string": "string"
21 },
22 "applicationFee": {
23 "unit": "string",
24 "value": "string",
25 "string": "string"
26 },
27 "allAddresses": [
28 {
29 "type": "shipping",
30 "japanType": "kana",
31 "addressee": "string",
32 "line1": "string",
33 "line2": "string",
34 "city": "string",
35 "state": "string",
36 "country": "string",
37 "postalCode": "string"
38 }
39 ],
40 "shippingAddress": {
41 "type": "shipping",
42 "japanType": "kana",
43 "addressee": "string",
44 "line1": "string",
45 "line2": "string",
46 "city": "string",
47 "state": "string",
48 "country": "string",
49 "postalCode": "string"
50 },
51 "billingAddress": {
52 "type": "shipping",
53 "japanType": "kana",
54 "addressee": "string",
55 "line1": "string",
56 "line2": "string",
57 "city": "string",
58 "state": "string",
59 "country": "string",
60 "postalCode": "string"
61 },
62 "shippingProvider": "string",
63 "shippingTracking": "string",
64 "shippingTrackingURL": "string",
65 "customerInfo": {
66 "fullName": "string",
67 "email": "string"
68 },
69 "purchasedItems": [
70 {
71 "count": 1,
72 "rowTotal": {
73 "unit": "string",
74 "value": "string",
75 "string": "string"
76 },
77 "productId": "string",
78 "productName": "string",
79 "productSlug": "string",
80 "variantId": "string",
81 "variantName": "string",
82 "variantSlug": "string",
83 "variantSKU": "string",
84 "variantImage": {
85 "url": "string",
86 "file": {
87 "size": 1,
88 "originalFileName": "string",
89 "createdOn": "2023-01-01T00:00:00Z",
90 "contentType": "string",
91 "width": 0,
92 "height": 0,
93 "variants": [
94 {
95 "url": "string",
96 "originalFileName": "string",
97 "size": 1,
98 "width": 0,
99 "height": 0
100 }
101 ]
102 }
103 },
104 "variantPrice": {
105 "unit": "string",
106 "value": "string",
107 "string": "string"
108 },
109 "weight": 1,
110 "width": 1,
111 "height": 1,
112 "length": 1
113 }
114 ],
115 "purchasedItemsCount": 1,
116 "stripeDetails": {
117 "subscriptionId": "string",
118 "paymentMethod": "string",
119 "paymentIntentId": "string",
120 "customerId": "string",
121 "chargeId": "string",
122 "disputeId": "string",
123 "refundId": "string",
124 "refundReason": "string"
125 },
126 "stripeCard": {
127 "last4": "string",
128 "brand": "Visa",
129 "ownerName": "string",
130 "expires": {
131 "year": 1,
132 "month": 1
133 }
134 },
135 "paypalDetails": {
136 "orderId": "string",
137 "payerId": "string",
138 "captureId": "string",
139 "refundId": "string",
140 "refundReason": "string",
141 "disputeId": "string"
142 },
143 "customData": [
144 {
145 "string": {}
146 }
147 ],
148 "metadata": {
149 "isBuyNow": true
150 },
151 "isCustomerDeleted": true,
152 "isShippingRequired": true,
153 "hasDownloads": true,
154 "paymentProcessor": "string",
155 "totals": {
156 "subtotal": {
157 "unit": "string",
158 "value": "string",
159 "string": "string"
160 },
161 "extras": [
162 {
163 "type": "discount",
164 "name": "string",
165 "description": "string",
166 "price": {
167 "unit": "string",
168 "value": "string",
169 "string": "string"
170 }
171 }
172 ],
173 "total": {
174 "unit": "string",
175 "value": "string",
176 "string": "string"
177 }
178 },
179 "downloadFiles": [
180 {
181 "id": "string",
182 "name": "string",
183 "url": "string"
184 }
185 ]
186}