System Event: purchase

Last updated: July 30, 2024 3:43 PM MDT

Description

The user has successfully made a purchase

Schema

Example Event

{
  "event": "purchase",
  "ecommerce": {
    "tax": 39.75,
    "items": [
      {
        "price": 1.41,
        "item_id": 229,
        "quantity": 454,
        "item_name": "4.25 x 11 Every Door Direct Mailâ„¢ Postcard",
        "item_brand": "Every Door Direct Mail",
        "item_category": "DirectMail",
        "item_category2": "Every Door Direct Mail"
      }
    ],
    "value": 679.75,
    "currency": "USD",
    "transaction_id": "123456"
  }
}

Validation Schema

The event payload, everything under the data property, will be validated against this schema. For more see JSONSchema standard.

null

Previous Versions

NOT YET AVAILABLE