Category Updated Webhook#
Triggered when a category is updated.Event Name#
Payload Example#
{
"event": "category.updated",
"created_at": "2026-07-13T23:18:28+03:00",
"data": {
"category": {
"id": 3,
"name": {
"ar": "ديجيتال",
"en": "Digital"
},
"description": {
"ar": "ديجيتال",
"en": "Digital"
},
"image": "https://example.com/assets/img/no-image.jpg",
"sub_categories": [
{
"id": 1,
"name": {
"ar": "Ebook",
"en": "Ebook"
},
"description": {
"ar": "Ebook",
"en": "Ebook"
},
"image": "https://example.com/assets/img/no-image.jpg"
},
{
"id": 2,
"name": {
"ar": "Video Tutorial",
"en": "Video Tutorial"
},
"description": {
"ar": "",
"en": ""
},
"image": "https://example.com/assets/img/no-image.jpg"
}
]
}
}
}
Payload Schema#
Root Object#
| Field | Type | Description |
|---|
| event | string | Webhook event name |
| created_at | datetime | Event creation timestamp |
| data | object | Event payload |
Category Object#
| Field | Type | Description |
|---|
| id | integer | Category ID |
| name | object | Localized name (ar, en) |
| description | object | Localized description (ar, en) |
| image | string | Category image URL |
| sub_categories | array | Nested subcategories, if any (same shape as Category Object) |
Response#
Your endpoint should return:Modified at 2026-07-13 20:20:21