post https://your_server_endpoint/your_item_webhook_uri
Event Types
Item webhooks can be of any of the following event types:
Event Type | Description |
---|---|
item.create | A new item got created. |
item.update | a critical information related to an item changed which requires a partner data re-fetch |
item.destroy | An old item got destroyed and can no longer be used. |
Changes That Trigger Webhook Updates
T-Gate Webhooks are only meant to be sent in case of critical updates which would affect the creation of orders.
Below is a list of all Critical updates that triggers the item.update
webhook.
Entity Change | Description |
---|---|
max | For modifier groups, the max number of modifiers assigned under it |
min | For modifier groups, the min number of modifiers assigned under it |
Max_num_of_same_item | For modifier groups, the max number of same modifier assigned under it |
price | Item price |
name_ar | Item name in Arabic |
name_en | Item name in English |
image_url | Item image URL |
is_active | The activation status of a item (ON/OFF) |
inactive_under_branches | The activation status of an item under a specific branch (ON/OFF) |
description_ar | Item description in Arabic |
description_en | Item description in English |