[lightMode]
Store
Below are the webhook store events paired with their respective data schema related to the Store webhook events:
Store Webhook Events Model
The following includes 5 store webhook events that share the same model, which are mentioned in the event
enum value under the Data Schema tab
{
"event": "store.branch.updated",
"merchant": "1029864349",
"created_at": "Wed Jun 30 2021 15:24:18 GMT+0300",
"data": {
"id": "1866839222",
"name": "Riyadh Branch",
"status": "active",
"location": {
"lat": "21.4267",
"lang": "39.8261"
},
"contacts": {
"telephone": "0555555555",
"phone": "+96652318526",
"whatsapp": "+96652318526"
},
"preparation_time": "2",
"is_open": false,
"closest_time": {
"from": "07:00",
"to": "12:00"
},
"working_hours": [
{
"name": "الثلاثاء",
"times": [
{
"from": "07:00",
"to": "12:00"
}
]
}
],
"is_cod_available": true,
"is_default": false,
"type": {},
"cod_cost": "10.00",
"country": {
"id": 1473353380,
"name": "السعودية",
"name_en": "Saudi Arabia",
"code": "SA",
"mobile_code": "+966"
},
"city": {
"id": 1473353380,
"name": "الرياض",
"name_en": "Riyadh",
"country_id": 1473353380
}
}
}
Store Tax Webhook Events Model
This event is triggered when a store tax has been created.
{
"event": "storetax.created",
"merchant": 814202285,
"created_at": "Tue Aug 03 2021 09:35:16 GMT+0300",
"data": {
"id": 5541564,
"tax": "5",
"status": "active",
"country": "All Countries"
}
}
[updatedIn] 2 months ago
Store Webhook Events Model
Store Tax Webhook Events Model