Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.flexype.io/llms.txt

Use this file to discover all available pages before exploring further.

The Abandoned Checkout Recovery Webhook is triggered whenever a checkout session is created or updated. It facilitates real-time synchronization of checkout data with external systems, enabling accurate tracking of active shopping sessions. This webhook plays a vital role in identifying potential checkout abandonment scenarios and allows businesses to automate recovery actions such as follow-up emails, whatsapp messages, personalized notifications, or remarketing efforts. By leveraging this integration, brands can engage customers at the right moment and significantly improve checkout conversion rates.

Headers

X-Flexype-Authorization
string
A secret key used to verify that the webhook request originated from FlexyPe. Ensure this token is validated to prevent unauthorized access.
X-Webhook-Version
string
The version of the webhook payload. Here, the value will be 2026-05.
X-Webhook-Id
string
The unique identifier of the webhook configured for your store.
X-Event-Id
string
The unique identifier for the event that triggered this webhook.

Body

event_time
string
The ISO 8601 timestamp when the event occurred.
event_type
string
The type of event. For this webhook, it is ACR_CHECKOUT.
event_id
string
A unique identifier for the event.
store
object
Information about the store where the event occurred.
payload
object
The event-specific data.
{
  "event_time": "2026-05-07T10:00:00Z",
  "event_type": "ACR_CHECKOUT",
  "event_id": "evt_123456789",
  "store": {
    "id": "store_01",
    "name": "My Awesome Store",
    "shopify_domain": "my-store.myshopify.com",
    "main_domain": "my-store.com"
  },
  "payload": {
    "user": {
      "email": "john.doe@example.com",
      "full_name": "John Doe",
      "first_name": "John",
      "last_name": "Doe",
      "dial_code": "91",
      "phone": "9876543210",
      "phone_with_dial_code": "+919876543210"
    },
    "checkout_url": "https://checkout.flexype.com/c/abc123xyz",
    "cart_items": [
      {
        "image": "https://cdn.shopify.com/products/item.jpg",
        "title": "Cool T-Shirt",
        "discount": 0,
        "price": 999,
        "quantity": 1,
        "product_id": 12345,
        "variant_id": 67890,
        "grams": 200,
        "handle": "cool-t-shirt",
        "total_price": 999,
        "sub_total_price": 999,
        "total_discount": 0,
        "single_variant": true,
        "properties": [],
        "variant": {
          "title": "Large / Red",
          "price": 999,
          "variant_id": 67890,
          "compare_at_price": 1200
        }
      }
    ],
    "session_state": "PHONE_ENTERED",
    "coupons": [],
    "client_meta": {
      "client_ip": "1.1.1.1",
      "http_referer": "https://google.com",
      "user_agent": "Mozilla/5.0..."
    },
    "metadata": {
      "orig_referer": "https://google.com",
      "referer_host": "google.com",
      "landing_page": "/products/cool-t-shirt",
      "utm": []
    },
    "analytics": {
      "fb": {
        "fbp": "fb.1.12345.6789"
      }
    }
  }
}