product.created{
"event": "product.created",
"created_at": "2026-06-13T09:30:15+03:00",
"data": {
"product": {
"id": 227,
"identifier": 227,
"name": {
"ar": "قميص قطني",
"en": "Cotton Shirt"
},
"type": "Simple",
"type_id": 1,
"price": 89.99,
"sale_price": 59.99,
"stock": 50,
"is_published": true,
"created_at": "2026-06-13 09:30:15",
"updated_at": "2026-06-13 09:30:15"
}
}
}{
"event": "product.created",
"created_at": "2026-06-13T10:00:00+03:00",
"data": {
"product": {
"id": 228,
"identifier": 228,
"name": {
"ar": "حجز ملعب كرة قدم",
"en": "Football Field Booking"
},
"type": "Booking",
"type_id": 3,
"price": 150.00,
"sale_price": 120.00,
"stock": null,
"is_published": true,
"created_at": "2026-06-13 10:00:00",
"updated_at": "2026-06-13 10:00:00",
"booking_meta_data": {
"duration": {
"hours": 2,
"minutes": 0
},
"min_customers": 1,
"max_customers": 22,
"is_required": true,
"is_enable_date_range": true,
"is_enable_booking_same_date": false,
"availability": {
"monday": {
"enabled": true,
"working_hours": {
"start": "08:00",
"end": "22:00"
},
"breaks": []
},
"tuesday": {
"enabled": true,
"working_hours": {
"start": "08:00",
"end": "22:00"
},
"breaks": [
{
"start": "12:00",
"end": "14:00"
}
]
}
}
}
}
}
}{
"event": "product.created",
"created_at": "2026-06-13T11:00:00+03:00",
"data": {
"product": {
"id": 229,
"identifier": 229,
"name": {
"ar": "خدمة استشارة",
"en": "Consultation Service"
},
"type": "Service",
"type_id": 2,
"price": 200.00,
"sale_price": 150.00,
"stock": null,
"is_published": true,
"created_at": "2026-06-13 11:00:00",
"updated_at": "2026-06-13 11:00:00",
"service_meta_data": {
"id": 45,
"preview_link": "https://example.com/service-preview",
"release_date": "2026-06-15",
"update_date": "2026-06-13"
}
}
}
}{
"event": "product.created",
"created_at": "2026-06-13T12:00:00+03:00",
"data": {
"product": {
"id": 230,
"identifier": 230,
"name": {
"ar": "بطاقة هدايا",
"en": "Gift Card"
},
"type": "Digital",
"type_id": 4,
"price": 100.00,
"sale_price": 90.00,
"stock": 500,
"is_published": true,
"created_at": "2026-06-13 12:00:00",
"updated_at": "2026-06-13 12:00:00",
"digital_meta_data": {
"id": 78,
"product_id": 230,
"type": "digital_cards",
"preview_link": "https://example.com/card-preview",
"file": "gift_cards.json",
"contains_download_link": false,
"external_download_link": null,
"release_date": "2026-06-13",
"update_date": "2026-06-13",
"additional_information": "Digital gift cards for various retailers",
"metadata": {
"digital_type": "digital_cards",
"entry_code_method": "automatic",
"cards": [
"GIFT123456789",
"GIFT987654321",
"GIFT456789123"
],
"card_count": 3
}
}
}
}
}{
"event": "product.created",
"created_at": "2026-06-13T09:30:15+03:00",
"data": {
"product": {
"id": 227,
"identifier": 227,
"name": {
"ar": "قميص قطني",
"en": "Cotton Shirt"
},
"summary": {
"ar": "قميص قطني مريح للصيف",
"en": "Comfortable cotton shirt for summer"
},
"description": {
"ar": "قميص قطني عالي الجودة مناسب للصيف",
"en": "High quality cotton shirt suitable for summer"
},
"type": "Simple",
"type_id": 1,
"price": 89.99,
"sale_price": 59.99,
"is_refundable": true,
"min_purchase": 1,
"max_purchase": 5,
"image": "https://example.com/storage/products/shirt.jpg",
"is_published": true,
"stock": 50,
"is_unlimited": false,
"ratings": 4.5,
"reviews_count": 12,
"created_at": "2026-06-13 09:30:15",
"updated_at": "2026-06-13 09:30:15",
"product_options": [
{
"type": "color",
"title": "Color",
"sub_title": "Choose your preferred color",
"options": ["Red", "Blue", "Green"],
"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"
}
}
],
"categories": [
{
"id": 10,
"name": {
"ar": "رجالي",
"en": "Men"
}
}
],
"sub_categories": [
{
"id": 15,
"name": {
"ar": "قمصان",
"en": "Shirts"
}
}
],
"inventory": {
"stock_count": 50,
"sku": "SHIRT-001"
},
"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
}
],
"meta_data": {
"meta_title": {
"ar": "قميص قطني ممتاز",
"en": "Premium Cotton Shirt"
},
"meta_description": {
"ar": "قميص قطني عالي الجودة",
"en": "High quality cotton shirt"
},
"keywords": "cotton,shirt,summer"
}
}
}
}| Field | Type | Description |
|---|---|---|
| event | string | Webhook event name |
| created_at | datetime | Event creation timestamp |
| data | object | Event payload |
| Field | Type | Description |
|---|---|---|
| id | integer | Internal product ID |
| identifier | integer | Product identifier |
| name | object | Product name (ar, en) |
| summary | object | Product summary (ar, en) |
| description | object | Product description (ar, en) |
| type | string | Product type |
| type_id | integer | Product type ID |
| price | decimal | Regular price |
| sale_price | decimal | Sale price |
| is_refundable | boolean | Whether refundable |
| min_purchase | integer | Minimum purchase quantity |
| max_purchase | integer | Maximum purchase quantity |
| image | string | Main product image URL |
| is_published | boolean | Publication status |
| stock | integer | Available stock quantity |
| is_unlimited | boolean | Unlimited stock flag |
| ratings | decimal | Average rating |
| reviews_count | integer | Number of reviews |
| created_at | datetime | Product creation date |
| updated_at | datetime | Last update date |
| product_options | array | Product options/variants |
| brand | object | Brand information |
| tags | array | Product tags |
| categories | array | Product categories |
| sub_categories | array | Sub categories |
| inventory | object | Inventory details |
| delivery_options | array | Delivery options |
| return_policy | object | Return policy details |
| gallery | array | Product gallery images |
| meta_data | object | SEO metadata |
| booking_meta_data | object | Booking product metadata |
| service_meta_data | object | Service product metadata |
| digital_meta_data | object | Digital product metadata |
booking_meta_data field with:duration: Booking duration componentsmin_customers: Minimum customers requiredmax_customers: Maximum customers allowedavailability: Weekly availability scheduleis_required: Whether booking is requiredis_enable_date_range: Date range booking enabledis_enable_booking_same_date: Same day booking enabledservice_meta_data field with:preview_link: Preview/download linkrelease_date: Service availability dateupdate_date: Last update datedigital_meta_data field with:type: Digital product typefile: File informationcontains_download_link: External download link flagexternal_download_link: External download URLrelease_date: Release dateupdate_date: Last update datemetadata: Additional metadata including digital cards info| Field | Type |
|---|---|
| id | int |
| name | object |
| logo | string |
| Field | Type |
|---|---|
| stock_count | integer |
| sku | string |
| Field | Type |
|---|---|
| id | integer |
| image | string |
| is_primary | boolean |
| Field | Type |
|---|---|
| meta_title | object |
| meta_description | object |
| keywords | string |
| Field | Type |
|---|---|
| duration | object |
| min_customers | integer |
| max_customers | integer |
| availability | object |
| is_required | boolean |
| is_enable_date_range | boolean |
| is_enable_booking_same_date | boolean |
| Field | Type |
|---|---|
| id | integer |
| preview_link | string |
| release_date | date |
| update_date | date |
| Field | Type |
|---|---|
| id | integer |
| product_id | integer |
| type | string |
| preview_link | string |
| file | string |
| contains_download_link | boolean |
| external_download_link | string |
| release_date | date |
| update_date | date |
| additional_information | string |
| metadata | object |