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

Product Review Submitted

Product Review Submitted Webhook#

Triggered when a customer submits a review on a product.

Event Name#

product.review.submitted

Payload Example#

{
  "event": "product.review.submitted",
  "created_at": "2026-07-13T22:32:25+03:00",
  "data": {
    "product_review": {
      "id": 35,
      "rating": 5,
      "review_text": "منتج رائع",
      "reply": null,
      "status": 1,
      "is_published": true,
      "likes_count": 0,
      "image": null,
      "created_at": "2026-07-13 22:32:24",
      "updated_at": "2026-07-13 22:32:24",
      "product": {
        "id": 233,
        "identifier": 233,
        "slug": "updated55-digital-product",
        "name": {
          "ar": "منتج رقمي محدث",
          "en": "Updated Digital Product"
        },
        "summary": {
          "ar": "ملخص محدث بالعربية",
          "en": "Updated summary in English"
        },
        "description": {
          "ar": "وصف محدث بالعربية",
          "en": "Updated description in English"
        },
        "type": "رقمي",
        "type_id": 2,
        "price": 180,
        "sale_price": 149.99,
        "is_refundable": true,
        "min_purchase": 1,
        "max_purchase": null,
        "image": "https://example.com/assets/tenant/uploads/media-uploader/b56tf/3-screen-of-tutorial1766840221.png",
        "is_published": true,
        "stock": null,
        "is_unlimited": true,
        "ratings": null,
        "video": {
          "video_source": "youtube",
          "video_id": "dQw4w9WgXcQ",
          "video": "dQw4w9WgXcQ"
        },
        "created_at": "2026-07-04 03:43:16",
        "updated_at": "2026-07-06 16:28:59",
        "inventory": {
          "id": 220,
          "sku": "DIG-SKU-05502",
          "stock_count": -1,
          "sold_count": 0
        }
      },
      "customer": {
        "id": 1077,
        "name": "دارين راشد كاظم",
        "username": null,
        "email": "customer499_1766805645@test.com",
        "mobile": "966558522852",
        "image": "https://example.com/assets/img/no-image.jpg",
        "is_verified": false,
        "is_trusted": false,
        "created_at": "2004-05-28 02:20:17",
        "updated_at": "2026-07-08 18:09:25"
      }
    }
  }
}

Payload Schema#

Root Object#

FieldTypeDescription
eventstringWebhook event name
created_atdatetimeEvent creation timestamp
dataobjectEvent payload

Product Review Object#

FieldTypeDescription
idintegerInternal review ID
ratingintegerRating value (e.g. 1–5)
review_textstringReview body text
replystringnull
statusintegerReview status code
is_publishedbooleanWhether the review is publicly visible
likes_countintegerNumber of likes on the review
imagestringnull
created_atdatetimeReview creation date
updated_atdatetimeLast review update date
productobjectReviewed product
customerobjectCustomer who submitted the review

Product Object#

FieldTypeDescription
idintegerProduct ID
identifierintegerProduct identifier
slugstringURL slug
nameobjectLocalized name (ar, en)
summaryobjectLocalized short summary (ar, en)
descriptionobjectLocalized full description (ar, en)
typestringProduct type label (may be localized)
type_idintegerNumeric product type code
pricedecimalRegular price
sale_pricedecimalDiscounted/sale price
is_refundablebooleanWhether product supports refunds
min_purchaseintegerMinimum purchasable quantity
max_purchaseintegernull
imagestringProduct image URL
is_publishedbooleanPublish status
stockintegernull
is_unlimitedbooleanWhether stock is unlimited
ratingsobjectnull
videoobjectnull
created_atdatetimeProduct creation date
updated_atdatetimeLast product update date
inventoryobjectInventory details (see below)

Inventory Object#

FieldTypeDescription
idintegerInventory record ID
skustringStock keeping unit
stock_countintegerUnits in stock (-1 typically means unlimited)
sold_countintegerUnits sold

Customer Object#

FieldTypeDescription
idintegerCustomer ID
namestringCustomer full name
usernamestringnull
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:12:55
Previous
Product Updated
Next
Product Stock Update
Built with