{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/store_cart_abandoned", "title": "store/cart/abandoned", "description": "This webhook fires after a cart is abandoned. BigCommerce considers a cart abandoned when it has no activity for at least one hour. This webhook is available for all store plans, regardless of whether the Abandoned Cart Saver feature is enabled.\n\n\n```json filename=\"Example callback object\" showLineNumbers\n{\n \"created_at\": 1561482670,\n \"store_id\": \"1025646\",\n \"producer\": \"stores/{store_hash}\",\n \"scope\": \"store/cart/abandoned\",\n \"hash\": \"352e4afc6dd3fc85ea26bfdf3f91852604d57528\",\n \"data\": {\n \"type\": \"cart\",\n \"id\": \"09346904-4175-44fd-be53-f7e598531b6c\",\n \"token\": \"1eed6d2d979776ff18e695ceeb10ea61\"\n }\n}\n```", "x-examples": {}, "allOf": [ { "$ref": "#/components/schemas/webhook_callback_base" }, { "description": "A lightweight description of the event that triggered the webhook. Will vary depending on the event registered.", "properties": { "data": { "type": "object", "description": "A lightweight description of the event that triggered the webhook. Will vary depending on the event registered.", "properties": { "type": { "type": "string", "description": "can be `cart` or `cart_line_item`", "example": "cart" }, "id": { "type": "string", "description": "ID of the cart", "example": "09346904-4175-44fd-be53-f7e598531b6c" }, "token": { "type": "string", "example": "1eed6d2d979776ff18e695ceeb10ea61", "description": "Use this token to obtain cart data." } } } } } ], "type": "object", "x-internal": false }