Append purchase history
Store transactional purchase history as you send contact data to us
Overview
Storing purchase history
Field
Notes
"account_id": 3,
"email: "johnsmith@gmail.com",
//...etc...
"purchases": [
{
"transaction_reference": "77FF-24FF-234F-77FF",
"unit_id": 8775,
"created_at": "2021-06-01 00:00:00",
"provider_id": 1,
"order_type_id": 4,
"items": [
{
"description": "Negroni",
"sku": "abc_8913", // string SKU for this product
"quantity": 1, // qty of this item
"value": 7 // total value (quantity x item value) in decimal
},
{
"description": "Garlic Bread",
"sku": "5621",
"quantity": 2,
"value": 8.40
}
]
}
]Last updated