1. Events
Tjar
  • 🗂️ Overview
  • 🚀 Start Here
  • Orders
    • List Orders
    • Get Order Details
    • Order Statuses
    • Create Order
    • Change Order Status
  • Products
    • Digital
      • Create Digital Product
      • Get Digital Product Details
      • Update Digital Product
    • Booking
      • Get Booking Product Details
      • Create Booking Product
      • Update Booking Product
    • Service
      • Get Service Product
      • Create Service Product
      • Update Service Product
    • Physical
      • Get Physical Product Details
      • Create Physical Product
      • Update Physical Product
    • List All Products
    • Get Product Details
    • Delete Product
  • Media
    • Upload Media
    • Upload Multiple Media
    • Update Media
  • Webhook
    • Events
      • Cart Abandoned
      • Order Created
      • Order Created
      • Order Status Changed
      • Order Updated
      • Product Created
      • Product Deleted
      • Product Updated
      • Product Review Submitted
      • Product Stock Update
      • Customer Created
      • Customer Updated
      • Customer Login
      • Customer Welcome
      • Category Created
      • Category Updated
      • Category Deleted
      • Brand Created
      • Brand Updated
      • Brand Deleted
    • List Webhooks
      GET
    • Register Webhook
      POST
    • Update Webhook
      PUT
    • Delete Webhook
      DELETE
    • Verify Signature
      POST
    • Refresh Secret
      POST
    • Webhook Events
      GET
  • Abandoned Cart
    • List Abandoned Carts
    • Get Abandoned Cart Details
    • Send Reminder
  1. Events

Customer Login

Customer Login Webhook#

Triggered when a customer logs into their account.

Event Name#

customer.login

Payload Example#

{
  "event": "customer.login",
  "created_at": "2026-07-13T23:04:44+03:00",
  "data": {
    "customer": {
      "id": 1081,
      "name": "abdulrhman",
      "username": null,
      "email": "abdulrhman@gmail.com",
      "mobile": "966590357996",
      "image": "https://example.com/assets/img/no-image.jpg",
      "is_verified": false,
      "is_trusted": false,
      "created_at": "2026-06-14 21:35:45",
      "updated_at": "2026-06-14 21:35:45"
    }
  }
}

Payload Schema#

Root Object#

FieldTypeDescription
eventstringWebhook event name
created_atdatetimeEvent creation timestamp
dataobjectEvent payload

Customer Object#

FieldTypeDescription
idintegerCustomer ID
namestringCustomer full name
usernamestring|nullCustomer username, if set
emailstringCustomer email
mobilestringCustomer phone number
imagestringCustomer avatar URL
is_verifiedbooleanWhether the customer is verified
is_trustedbooleanWhether the customer is trusted
created_atdatetimeAccount creation date
updated_atdatetimeLast account update date

Response#

Your endpoint should return:
Modified at 2026-07-13 20:17:16
Previous
Customer Updated
Next
Customer Welcome
Built with