FlourishFlourish / New Order

appKey: flourish
triggerKey: new-order

Trigger Inputs

The following parameters are available when configuring this trigger:
isApproved
Is Approved
boolean | undefined
orderStatus
Order Status
string | undefined
originFacility
Origin Facility
string | undefined
paymentStatus
Payment Status
string | undefined

Event Payload Properties

The following properties can be referenced when an event occurs:
charges
Charges
Array<string | null> | null
createdBy
Created By
string | null
createdTimestamp
Created Timestamp
string
deliveryFee
Delivery Fee
number | null
destination
Destination
{
type: string | null
id: string | null
name: string | null
alias: string | null
} | null
discounts
Discounts
Array<string | null> | null
distributor
Distributor
{
type: string | null
id: string | null
name: string | null
} | null
exciseTaxRate
Excise Tax Rate
number | null
invoiceDate
Invoice Date
string | null
isApproved
Is Approved
boolean | null
lastUpdatedBy
Last Updated By
string | null
lastUpdatedTimestamp
Last Updated Timestamp
string
notes
Notes
Array<string | null> | null
orderId
Order Id
string
orderLines
Order Lines
Array<{
itemId: string | null
strainId: string | null
itemVariationPk: string | null
orderQty: number | null
allocatedQty: number | null
unitPrice: number | null
discountPrice: number | null
lineTotalPrice: number | null
qtyReturned: number | null
lastUpdatedBy: string | null
lastUpdatedTimestamp: string | null
createdBy: string | null
createdTimestamp: string | null
taxes: Array<string | null> | null
itemName: string | null
itemUom: string | null
variationName: string | null
unitQty: number | null
strainName: string | null
orderLineStatus: string | null
retailDisplayName: string | null
orderLineDtls: Array<string | null> | null
needsFulfillment: boolean | null
}> | null
orderStatus
Order Status
string | null
orderTimestamp
Order Timestamp
string | null
originalOrderId
Original Order Id
string | null
originFacility
Origin Facility
{
id: string | null
facilityName: string | null
} | null
originType
Origin Type
string | null
paymentStatus
Payment Status
string | null
paymentTerm
Payment Term
string | null
pretaxDiscounts
Pretax Discounts
boolean | null
salesRep
Sales Rep
{
firstName: string | null
middleName: string | null
lastName: string | null
phoneNumber: string | null
email: string | null
} | null
shipmentId
Shipment Id
string | null
shippedTimestamp
Shipped Timestamp
string | null
subTotalPrice
Sub Total Price
number | null
taxes
Taxes
number | null
taxPaymentDirection
Tax Payment Direction
string | null
taxType
Tax Type
string | null
totalCharges
Total Charges
number | null
totalDiscounts
Total Discounts
number | null
totalPaid
Total Paid
number | null
totalPrice
Total Price
number | null