Transactions
Last updated
Last updated
Transactions are events which relate to the sale of products and services. Generally, these include Orders and Cancellations / Returns. These events are key, as revenue is generated here, and are vital for Modelling and Predictions.
Event | Description |
---|---|
For contractual businesses, CrossEngage also has the following events:
Event | Description |
---|---|
Order events have three base properties, as well as Cart properties. Cart properties can be accessed by using cart.products[product_number].property.
Property | Description | Mandatory | Example |
---|---|---|---|
You can upload these events using the CrossEngage API, or via the Event Feed. Please go to Data Management to learn more.
Here is an example of the JSON used to upload two events via the API.
Here is the same example, presented as a JSON file that can be uploaded via Data Feeds:
Completed Order
An order is placed
Changed Order Status
An order is cancelled / returned
contract_sale
Conclusion of a contract
contract_start
start of the contract
contract_cancellation
The contract is cancelled
contract_end
The contact expires
contract_return
the contract is cancelled during trial phase
id
Unique Identifier
DEF12345
timestamp
Event date
2022-01-01
orderId
Invoice ID
1234
cart.products[].id
Invoice item number
1
cart.products[].quantity
quantity of item
4
cart.products[].price
price per unit
10.99
cart.products[].category
Product Category
Shoes
cart.product[].brand
Product brand
Samsung
cart.products[].sku
Product SKU
AB1234
cart.products[].name
Product name
Cap
cart.currency
Currency of payment
Euro