Skip to content

Abandoned cart

datestring(typeDateTime)^[0-9]{4}-[01][0-9]-[0123][0-9]T[012][0-9]:[0...required

date and time the cart was last visited

Example:"2018-05-29T09:02:27+0200"
ageintegerrequired

number of days since the cart was last visited

Example:3
itemsArray of objectsrequired

products in the abandoned cart

cartValuestring(typePrice)^(-)?[0-9]+\.[0-9]{2}$required

total price of the cart (default eshop VAT rate is used)

Example:"21.00"
couponobject or nullrequired

discount coupon applied to the cart (null if none was used)

customerobjectrequired
returnsintegerrequired

number of times the customer returned to (revisited) the cart

Example:2
lastStepintegerrequired

last step reached in the cart before it was abandoned. 0 cart (checkout not started), 1 delivery and payment method selection, 2 customer/contact details, 3 order was created

Enum:0123
Example:0
{ "date": "2018-05-29T09:02:27+0200", "age": 3, "items": [ { … } ], "cartValue": "21.00", "coupon": { "code": "DC14585431", "discountType": "percentual", "amount": "21.00", "ratio": "0.7800" }, "customer": { "name": "John Doe", "email": "john.doe@example.com", "phone": "+420123456789" }, "returns": 2, "lastStep": 0 }