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 Updated

Product Updated Webhook#

Triggered when an existing product is updated (e.g., price changed, description modified, stock updated).

Event Name#

product.updated

Payload Example#

{
  "event": "product.updated",
  "created_at": "2026-06-13T11:45:20+03:00",
  "data": {
    "product": {
      "id": 227,
      "identifier": 227,
      "name": {
        "ar": "قميص قطني محسّن",
        "en": "Cotton Shirt Premium"
      },
      "summary": {
        "ar": "قميص قطني مريح للصيف - نسخة محسّنة",
        "en": "Comfortable cotton shirt for summer - Premium version"
      },
      "description": {
        "ar": "قميص قطني عالي الجودة مناسب للصيف - تحديث جديد",
        "en": "High quality cotton shirt suitable for summer - New update"
      },
      "type": "Simple",
      "type_id": 1,
      "price": 89.99,
      "sale_price": 49.99,
      "is_refundable": true,
      "min_purchase": 1,
      "max_purchase": 10,
      "image": "https://example.com/storage/products/shirt-new.jpg",
      "is_published": true,
      "stock": 75,
      "is_unlimited": false,
      "ratings": 4.7,
      "reviews_count": 15,
      "created_at": "2026-06-13 09:30:15",
      "updated_at": "2026-06-13 11:45:20",

      "product_options": [
        {
          "type": "color",
          "title": "Color",
          "sub_title": "Choose your preferred color",
          "options": ["Red", "Blue", "Green", "Black"],
          "is_required": true,
          "multi_select": false
        }
      ],

      "brand": {
        "id": 5,
        "name": {
          "ar": "علامة تجارية",
          "en": "Brand Name"
        },
        "logo": "https://example.com/storage/brands/logo.jpg"
      },

      "tags": [
        {
          "id": 1,
          "name": {
            "ar": "ملابس",
            "en": "Clothing"
          }
        },
        {
          "id": 2,
          "name": {
            "ar": "صيف",
            "en": "Summer"
          }
        }
      ],

      "categories": [
        {
          "id": 10,
          "name": {
            "ar": "رجالي",
            "en": "Men"
          }
        }
      ],

      "sub_categories": [
        {
          "id": 15,
          "name": {
            "ar": "قمصان",
            "en": "Shirts"
          }
        }
      ],

      "inventory": {
        "stock_count": 75,
        "sku": "SHIRT-001-UPD"
      },

      "delivery_options": [
        {
          "id": 1,
          "title": {
            "ar": "توصيل قياسي",
            "en": "Standard Delivery"
          },
          "price": 10.00,
          "estimated_days": 3
        }
      ],

      "return_policy": {
        "id": 1,
        "days": 30,
        "description": {
          "ar": "سياسة الإرجاع خلال 30 يوم",
          "en": "30-day return policy"
        }
      },

      "gallery": [
        {
          "id": 101,
          "image": "https://example.com/storage/products/shirt-1.jpg",
          "is_primary": false
        },
        {
          "id": 102,
          "image": "https://example.com/storage/products/shirt-2.jpg",
          "is_primary": true
        },
        {
          "id": 103,
          "image": "https://example.com/storage/products/shirt-3.jpg",
          "is_primary": false
        }
      ],

      "meta_data": {
        "meta_title": {
          "ar": "قميص قطني ممتاز - محدث",
          "en": "Premium Cotton Shirt - Updated"
        },
        "meta_description": {
          "ar": "قميص قطني عالي الجودة - إصدار محدث",
          "en": "High quality cotton shirt - Updated version"
        },
        "keywords": "cotton,shirt,summer,premium"
      }
    }
  }
}

Payload Schema#

Root Object#

FieldTypeDescription
eventstringWebhook event name
created_atdatetimeEvent creation timestamp
dataobjectEvent payload

Product Object#

FieldTypeDescription
idintegerInternal product ID
identifierintegerProduct identifier
nameobjectUpdated product name
summaryobjectUpdated product summary
descriptionobjectUpdated product description
typestringProduct type
type_idintegerProduct type ID
pricedecimalRegular price
sale_pricedecimalUpdated sale price
is_refundablebooleanWhether refundable
min_purchaseintegerMinimum purchase quantity
max_purchaseintegerUpdated maximum quantity
imagestringUpdated main image URL
is_publishedbooleanPublication status
stockintegerUpdated stock quantity
is_unlimitedbooleanUnlimited stock flag
ratingsdecimalAverage rating
reviews_countintegerNumber of reviews
created_atdatetimeProduct creation date
updated_atdatetimeLast update date
product_optionsarrayProduct options/variants
brandobjectBrand information
tagsarrayProduct tags
categoriesarrayProduct categories
sub_categoriesarraySub categories
inventoryobjectInventory details
delivery_optionsarrayDelivery options
return_policyobjectReturn policy details
galleryarrayProduct gallery images
meta_dataobjectSEO metadata
booking_meta_dataobjectBooking product metadata
service_meta_dataobjectService product metadata
digital_meta_dataobjectDigital product metadata

Product Types#

This webhook supports all product types in the system. The payload structure varies based on the product type:

Physical Products#

Standard products with inventory and shipping. No special metadata fields.

Booking Products#

Products that require booking/scheduling (e.g., appointments, rentals). Includes booking_meta_data field.

Service Products#

Service-based products (e.g., consultations, subscriptions). Includes service_meta_data field.

Digital Products#

Digital goods like cards, vouchers, or downloadable files. Includes digital_meta_data field.

Brand Object#

FieldType
idint
nameobject
logostring

Inventory Object#

FieldType
stock_countinteger
skustring

Gallery Item Object#

FieldType
idinteger
imagestring
is_primaryboolean

Meta Data Object#

FieldType
meta_titleobject
meta_descriptionobject
keywordsstring

Booking Meta Data Object#

FieldType
durationobject
min_customersinteger
max_customersinteger
availabilityobject
is_requiredboolean
is_enable_date_rangeboolean
is_enable_booking_same_dateboolean

Service Meta Data Object#

FieldType
idinteger
preview_linkstring
release_datedate
update_datedate

Digital Meta Data Object#

FieldType
idinteger
product_idinteger
typestring
preview_linkstring
filestring
contains_download_linkboolean
external_download_linkstring
release_datedate
update_datedate
additional_informationstring
metadataobject

Response#

Your endpoint should return:
Modified at 2026-06-13 13:29:51
Previous
Product Deleted
Next
Product Review Submitted
Built with