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 Deleted

Product Deleted Webhook#

Triggered when a product is deleted from the store.

Event Name#

product.deleted

Payload Example#

{
  "event": "product.deleted",
  "created_at": "2026-06-13T16:20:10+03:00",
  "data": {
    "product": {
      "id": 228,
      "identifier": 228,
      "name": {
        "ar": "منتج قديم",
        "en": "Old Product"
      },
      "summary": {
        "ar": "ملخص المنتج القديم",
        "en": "Old product summary"
      },
      "description": {
        "ar": "وصف المنتج القديم",
        "en": "Old product description"
      },
      "type": "Simple",
      "type_id": 1,
      "price": 49.99,
      "sale_price": 29.99,
      "is_refundable": true,
      "min_purchase": 1,
      "max_purchase": 5,
      "image": "https://example.com/storage/products/old.jpg",
      "is_published": false,
      "stock": 0,
      "is_unlimited": false,
      "ratings": 3.8,
      "reviews_count": 5,
      "created_at": "2026-05-15 10:00:00",
      "updated_at": "2026-06-13 16:20:10",

      "product_options": [],

      "brand": {
        "id": 3,
        "name": {
          "ar": "علامة تجارية قديمة",
          "en": "Old Brand"
        },
        "logo": "https://example.com/storage/brands/old-logo.jpg"
      },

      "tags": [],

      "categories": [
        {
          "id": 12,
          "name": {
            "ar": "منتجات قديمة",
            "en": "Old Products"
          }
        }
      ],

      "sub_categories": [],

      "inventory": {
        "stock_count": 0,
        "sku": "OLD-001"
      },

      "delivery_options": [],

      "return_policy": {
        "id": 1,
        "days": 14,
        "description": {
          "ar": "سياسة إرجاع قياسية",
          "en": "Standard return policy"
        }
      },

      "gallery": [
        {
          "id": 201,
          "image": "https://example.com/storage/products/old-1.jpg",
          "is_primary": true
        }
      ],

      "meta_data": {
        "meta_title": {
          "ar": "منتج قديم",
          "en": "Old Product"
        },
        "meta_description": {
          "ar": "وصف المنتج القديم",
          "en": "Old product description"
        },
        "keywords": "old,product,deleted"
      }
    }
  }
}

Payload Schema#

Root Object#

FieldTypeDescription
eventstringWebhook event name
created_atdatetimeEvent creation timestamp
dataobjectEvent payload

Product Object#

FieldTypeDescription
idintegerDeleted product ID
identifierintegerProduct identifier
nameobjectProduct name (ar, en)
summaryobjectProduct summary (ar, en)
descriptionobjectProduct description (ar, en)
typestringProduct type
type_idintegerProduct type ID
pricedecimalRegular price
sale_pricedecimalSale price
is_refundablebooleanWhether refundable
min_purchaseintegerMinimum purchase quantity
max_purchaseintegerMaximum purchase quantity
imagestringMain product image URL
is_publishedbooleanPublication status (usually false)
stockintegerStock quantity (usually 0)
is_unlimitedbooleanUnlimited stock flag
ratingsdecimalAverage rating
reviews_countintegerNumber of reviews
created_atdatetimeProduct creation date
updated_atdatetimeDeletion 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:36
Previous
Product Created
Next
Product Updated
Built with