Skip to content

abandoned.cart ​

Triggered when an abandoned cart is created.

يُرسل عند ظهور سلة متروكة.

PlatformSalla
GroupAbandoned cart and coupon
Payload modelAbandoned Cart Webhook Event Model (shared with abandoned.cart.update)
JSON Schemaschemas/salla/abandoned.cart.schema.json
Official docsdocs.salla.dev/webhook-events/carts

Example payload ​

json
{
  "event": "abandoned.cart",
  "merchant": 1305146709,
  "created_at": "Tue Jan 21 2025 18:00:32 GMT+0300",
  "data": {
    "id": 1097962121,
    "total": {
      "amount": 100,
      "currency": "SAR"
    },
    "subtotal": {
      "amount": 60,
      "currency": "SAR"
    },
    "total_discount": {
      "amount": 10,
      "currency": "SAR"
    },
    "checkout_url": "https://salla.sa/dev-wofftr4xsra5xtlv/checkout/1097962121",
    "age_in_minutes": 83,
    "created_at": {
      "date": "2025-01-21 17:09:39.000000",
      "timezone_type": 3,
      "timezone": "Asia/Riyadh"
    },
    "updated_at": {
      "date": "2025-01-21 17:09:39.000000",
      "timezone_type": 3,
      "timezone": "Asia/Riyadh"
    },
    "customer": {
      "id": 225167971,
      "name": "User Name",
      "mobile": "+977612917082",
      "email": "customer@email.com",
      "avatar": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
      "country": "السعودية",
      "city": "الرياض"
    },
    "coupon": {
      "id": 2036833834,
      "code": "wizefriend",
      "status": "active",
      "type": "percentage",
      "amount": 20,
      "minimum_amount": 0,
      "expiry_date": "2025-04-13 00:00:00",
      "start_date": null,
      "created_at": "Tue Jan 21 2025 17:00:00 GMT+0300",
      "free_shipping": true
    },
    "items": [
      {
        "id": 1793843311,
        "product_id": 401511871,
        "quantity": 2
      },
      {
        "id": 239847784,
        "product_id": 64738276,
        "quantity": 1
      }
    ]
  }
}

Fields ​

Fields marked * are required in the official schema.

FieldTypeDescription
eventstringEvent Name One of: abandoned.cart, abandoned.cart.update.
merchantnumberMerchant ID who installed the application on their store. Get details on the Merchant via the ID using the endpoint here
created_atstringTimestamp of webhook creation
dataobject (AbandonedCartWebhook)

data ​

FieldTypeDescription
id *numberA unique identifier associated with a shopping cart.
total *objectThe sum of the prices of all the items in a cart.
subtotal *objectThe sub-total cost of items in a shopping cart.
total_discount *objectCumulative reduction in price applied to the items in a cart.
checkout_url *stringA web link or address that directs a user to a specific page or interface where they can proceed with the final steps of a purchase or transaction.
age_in_minutes *numberThe age of cart, aka the time difference between cart's created_at and time now in minutes.
created_at *object
updated_at *object
customer *object
coupon *object
items *array of object

Source ​

Generated from Salla's official documentation, fetched 2026-10-26. Found a difference from what Salla actually sends? Open an issue.

Not affiliated with Salla or Zid. Payloads and schemas come from their official documentation. | غير تابع لسلة أو زد