When you receive an event from a trigger in Supermatic, you often need some information about the event to know what to do. To solve this, an event payload is provided on most events. For example, the payload for a Shopify order creation event will contain information about the created order.

Note that all Shopify event payloads also contain an originalPayload field, holding the unmodified information from Shopify.

Order creation

{
  createdAt: string
  currency: string
  customer: {
    currency: string
    id: string
    legacyResourceId: number
    totalSpent: string
  }
  email: string
  id: string
  legacyResourceId: number
  name: string
  test: boolean
  totalPrice: string
}