curl --request POST \
--url https://webhook.cocoonmail.com/webhook/event/checkout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"event": "abandoned_cart",
"data": {
"cart_id": "123456789",
"customer": {
"first_name": "John",
"last_name": "Doe",
"email": "johndoe@example.com",
"phone": "+910000000000"
},
"cart_items": [
{
"sku": "ITEM-001",
"name": "Wireless Headphones",
"quantity": 1,
"price": 2999
}
],
"checkout_url": "https://yourstore.com",
"created_at": "2024-05-20T14:30:00Z"
}
}
'