DistruDistru / New Order

appKey: distru
triggerKey: new-order

Event Payload Properties

The following properties can be referenced when an event occurs:
billingLocation
Billing Location
{
address: {
addressLine1: string
addressLine2: string | null
state: string
zipCode: string
country: string
} | null
id: string
name: string | null
} | null
charges
Charges
Array<{
id: string
name: string | null
percent: string | null
price: string | null
type: string | null
unitType: string | null
} | null> | null
creator
Creator
{
banned: boolean | null
email: string | null
fullName: string | null
id: string
} | null
deliveryDatetime
Delivery Datetime
string | null
dueDatetime
Due Datetime
string | null
id
Id
string
insertedDatetime
Inserted Datetime
string | null
items
Items
Array<{
batch: {
batchNumber: string | null
id: string
name: string | null
} | null
complianceQuantity: string | null
id: string | null
location: {
address: {
addressLine1: string
addressLine2: string | null
state: string
zipCode: string
country: string
} | null
id: string
name: string | null
} | null
package: {
batchNmber: string | null
complianceLabel: string | null
id: string
} | null
priceBase: string | null
product: {
id: string
name: string | null
sku: string | null
} | null
quantity: string | null
} | null> | null
orderDatetime
Order Datetime
string | null
orderNumber
Order Number
string | null
owner
Owner
{
banned: boolean | null
email: string | null
fullName: string | null
id: string
} | null
shippingLocation
Shipping Location
{
address: {
addressLine1: string
addressLine2: string | null
state: string
zipCode: string
country: string
} | null
id: string
name: string | null
} | null
status
Status
string | null
total
Total
string | null
updatedDatetime
Updated Datetime
string