You can receive abandoned checkouts from Shopflo by subscribing to the webhook. The configuration notifies a URL via HTTP POST about events where which you subscribe for.
This event will include all abandoned checkouts created at Shopflo, including extra abandoned checkouts that do not have address (and cannot be passed to Shopify).
Share a REST endpoint which accepts post request.
Request Type: POST
Header: Optional
Add the webhook to On the Shopflo Dashboard, open Apps & Integrations, search for Abandoned Cart Webhook, click on configure. Add the URL and Activate the configuration Webhook Configuration
Object
{
"event_name": "checkout_abandoned",
"checkout_id": "8d62-3c53f3eb287",
"cart_token": "56050-3489-4c1a-8d62",
"abandoned_checkout_url": "https://staging.checkout-ui.pages.dev/?tokenId=1a356050-3489-4c1a-8d62-3c53f3eb2873",
"email": null,
"phone": "+917777777777",
"created_at": "2022-12-22T04:31:31.787996Z",
"updated_at": "2022-12-22T04:45:57.159623Z",
"note_attributes": [
{
"name": "landing_page",
"value": "/"
},
{
"name": "orig_referrer",
"value": ""
},
{
"name": "shopflo_checkout_url",
"value": "https://staging.checkout-ui.pages.dev/?tokenId=1a356050-3489-4c1a-8d62-3c53f3eb2873"
}
],
"shipping_address": {
"city": "Kolhapur",
"country": "India",
"country_code": "IN",
"province": "Maharashtra",
"province_code": "MH",
"zip": "416012"
},
"billing_address": {
"city": "Kolhapur",
"country": "India",
"country_code": "IN",
"province": "Maharashtra",
"province_code": "MH",
"zip": "416012"
},
"line_items": [
{
"price": "65.00",
"id": "42885639078136",
"quantity": 1,
"title": "Default Title"
}
],
"customer": {
"uid": "f7e704f3-58b8-477a-b73c-89e654e7777e",
"email": null,
"first_name": "",
"last_name": "J e manoj kumar",
"phone": "+917777777777",
"marketing_consent": true
},
"currency": "INR",
"subtotal_price": 65,
"total_discount": 0,
"total_shipping": 0,
"total_tax": 9.92,
"total_price": 65
}
