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

One of pending, unfulfilled, fulfilled, disputed, dispute-lost, or refunded

commentstringOptional

A comment string for this order 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.

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

If an order was disputed by the customer, then this key will be set with the ISO8601 timestamp that Stripe notifies Webflow. Null if not disputed.

disputeUpdatedOnstringOptional

If an order was disputed by the customer, then this key will be set with the ISO8601 timestamp of the last time that we got an update. Null if not disputed.

disputeLastStatusstringOptional

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

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

If an order was marked as ‘fulfilled’, then this is the ISO8601 timestamp when that happened.

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

If an order was refunded, this is the ISO8601 of when that happened.

customerPaidobjectOptional

The sum of all line items.

netAmountobjectOptional

The sum of all line items.

requiresShippingbooleanOptionalDefaults to false

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

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).

customerInfoobjectOptional

An object with the keys fullName and email.

allAddresseslist of objectsOptional

All addresses provided by the customer during the ordering flow.

shippingAddressobjectOptional

A customer address

billingAddressobjectOptional

A customer address

purchasedItemslist of objectsOptional

An array of all things that the customer purchased.

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.

totalsobjectOptional

An object describing various pricing totals.

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.

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": "dfa-3f1",
3 "acceptedOn": "2018-12-03T22:06:15Z",
4 "disputedOn": "2018-12-03T22:06:15Z",
5 "disputeUpdatedOn": "2018-12-03T22:06:15.761Z",
6 "fulfilledOn": "2018-12-03T22:06:15Z",
7 "refundedOn": "2018-12-03T22:06:15Z",
8 "customerPaid": {
9 "unit": "USD",
10 "value": "6099",
11 "string": "58.92"
12 },
13 "netAmount": {
14 "unit": "USD",
15 "value": "6099",
16 "string": "58.92"
17 },
18 "customerInfo": {
19 "fullName": "Customerio Namen",
20 "email": "renning+customer@webflow.com"
21 },
22 "allAddresses": [
23 {
24 "type": "billing",
25 "addressee": "Customerio Namen",
26 "line1": "123 Example Rd",
27 "line2": "",
28 "city": "Examplesville",
29 "state": "CA",
30 "country": "US",
31 "postalCode": "90012"
32 }
33 ],
34 "shippingAddress": {
35 "type": "billing",
36 "addressee": "Customerio Namen",
37 "line1": "123 Example Rd",
38 "line2": "",
39 "city": "Examplesville",
40 "state": "CA",
41 "country": "US",
42 "postalCode": "90012"
43 },
44 "billingAddress": {
45 "type": "billing",
46 "addressee": "Customerio Namen",
47 "line1": "123 Example Rd",
48 "line2": "",
49 "city": "Examplesville",
50 "state": "CA",
51 "country": "US",
52 "postalCode": "90012"
53 },
54 "purchasedItems": [
55 {
56 "count": 1,
57 "rowTotal": {
58 "unit": "USD",
59 "value": "6099",
60 "string": "55.00"
61 },
62 "productId": "5eb9fd05caef491eb9757183",
63 "productName": "White Cup",
64 "productSlug": "white-cup",
65 "variantId": "5eb9fcace279761d8199790c",
66 "variantName": "white-cup_default_sku",
67 "variantSlug": "white-cup-default-sku",
68 "variantImage": {
69 "fileId": "5bfedb42bab0ad90fa7dad2e",
70 "url": "https://d1otoma47x30pg.cloudfront.net/5bfedb42bab0ad90fa7dac03/5bfedb42bab0ad90fa7dad2e_5bb3d019b3465c6e8a324dd7_458036-unsplas.png"
71 },
72 "variantPrice": {
73 "unit": "USD",
74 "value": "6099",
75 "string": "55.00"
76 },
77 "height": 7,
78 "length": 2,
79 "width": 4,
80 "weight": 5,
81 "purchasedItemsCount": 1
82 }
83 ],
84 "stripeDetails": {
85 "chargeId": "ch_1DdPYQKMjGA7k9mI2AKiBY6u",
86 "customerId": "cus_E5ajeiWNHEtcAW"
87 },
88 "stripeCard": {
89 "last4": "4242",
90 "brand": "Visa",
91 "ownerName": "Customerio Namen",
92 "expires": {
93 "year": 2023,
94 "month": 12
95 }
96 },
97 "totals": {
98 "subtotal": {
99 "unit": "USD",
100 "value": "6099",
101 "string": "55.00"
102 },
103 "extras": [
104 {
105 "type": "tax",
106 "name": "State Taxes",
107 "description": "CA Taxes (6.25%)",
108 "price": {
109 "unit": "USD",
110 "value": "6099",
111 "string": "3.44"
112 }
113 }
114 ],
115 "total": {
116 "unit": "USD",
117 "value": "6099",
118 "string": "58.92"
119 }
120 },
121 "downloadFiles": [
122 {
123 "id": "5e9a5eba75e0ac242e1b6f64",
124 "name": "The modern web design process - Webflow Ebook.pdf",
125 "url": "https://webflow.com/dashboard/download-digital-product?payload=5d93ba5e38c6b0160ab711d3;e7634a;5eb1aac72912ec06f561278c;5e9a5eba75e0ac242e1b6f63:ka2nehxy:4a1ee0a632feaab94294350087215ed89533f2f530903e3b933b638940e921aa"
126 }
127 ]
128}