Order Placed

Trigger for a FourthWall Order being placed
0.2.3

Variables

The following variables will be populated when this trigger executes:

Description
fw.checkoutIdstring

Check out id

fw.createdAtDateTime

The DateTime of the placed order in UTC

fw.currencystring

Currency

Example: USD
fw.discountnumber

Discount amount that was applied

Example: 2
fw.donationnumber

Donation added to the order

Example: 3
fw.emailstring

Supporter e-mail adress

fw.emailMarketingOptInboolean

If user opted in to email marketing

fw.friendlystring

Friendly id

Example: F2LGPYCV
fw.orderIdstring

Order id

fw.shippingnumber

Shipping Cost

Example: 5
fw.shopIdstring

Shop id

Example: sh_7ad0c438-beda-4779-a885-0dc325a755c1
fw.sourcestring

Type of FourthWall webhook

Example: ORDER
fw.statmessageusstring

Attached message

Example: message from supporter
fw.statusstring

Order status

Example: COMPLETED
fw.subtotalnumber

Subtotal

Example: 10
fw.taxnumber

Tax Cost

Example: 1
fw.totalnumber

Order total amount

Example: 17
fw.updatedAtDateTime

The DateTime of the updated status in UTC

fw.usernamestring

Username

fw.variants[#].attributes.colorstring

Color

Example: White
fw.variants[#].attributes.colorSwatchstring

Hex color

Example: #FFFFFF
fw.variants[#].attributes.descriptionstring

Description

Example: White, S
fw.variants[#].attributes.sizestring

Size

Example: S
fw.variants[#].currencyCodestring

Currency code

Example: USD
fw.variants[#].idstring

Product id
# is a number starting at 0 for first product

Example: b2c201d3-8104-4b2a-b2c9-1f6b335b650a
fw.variants[#].imagestring

Url of first product image

Example: https://cdn.staging.fourthwall.com/customization/sh_7ad0c438-beda-4779-a885-0dc325a755c1/5a125858-0e0c-4099-996f-db61cbd62f8e.jpeg
fw.variants[#].namestring

Product name

Example: New T-shirt
fw.variants[#].quantitystring

Quantity

Example: 2
fw.variants[#].skustring

SKU

Example: Z3YD-8CTV00S
fw.variants[#].stockstring

Current stock

fw.variants[#].unitPricenumber

Unit price

Example: 5