Product Updated

Trigger for a FourthWall product being updated

Variables

The following variables will be populated when this trigger executes:

Description
fw.createdAtDateTime

DateTime of when the product was created

fw.descriptionstring

Description

Example: desc
fw.images[#]string

Image urls

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

Name

Example: Updated T-shirt
fw.productIdstring

Product Id

Example: cc5d40e3-9f67-4e5d-8530-1d3f738ca915
fw.shopIdstring

Id of the shop

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

Slug name

Example: new-t-shirt
fw.statestring

State

Example: AVAILABLE
fw.updatedAtDateTime

DateTime of when the product was updated

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[#].attributes.weightstring

Weight

Example: 1
fw.variants[#].currencyCodestring

Currency code

Example: USD
fw.variants[#].idstring

Id
# is a number starting at 0 for first variant of product

Example: e3c12d65-a3aa-417e-a289-dabf71a87194
fw.variants[#].imagestring

Image url

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

Name

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

SKU

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

Current stock

fw.variants[#].unitPricenumber

Unit price

Example: 5
fw.variants[0].stockTypestring

Stock Type

Example: UNLIMITED