Light Mode
Miscellaneous
Below are the webhook store events paired with their respective data schema related to the Review Added webhook events:
Review Added Webhook Event Model
This event is triggered when a product's review has been added.
{
"event": "review.added",
"merchant": 1029864349,
"created_at": "Wed Jul 7 2021 14:50:48 GMT+0300",
"data": {
"type": "rating",
"rating": "5",
"content": "Nice",
"customer": {
"id": "2107468057",
"name": "Mohammed Ali",
"mobile": "+28364687236547523745",
"avatar": "https://i.ibb.co/jyqRQfQ/avatar-male.webp",
"country": "السعودية",
"city": "الرياض"
},
"product": {
"id": "1653503260",
"type": "codes",
"promotion": {
"title": null,
"sub_title": null
}
},
"status": {
"id": "1298199463",
"name": "تم التنفيذ",
"customized": {
"id": "1693817923",
"name": "تم التنفيذ"
},
"can_cancel": false
},
"is_available": false,
"sku": " ",
"name": "FW180017",
"price": {
"amount": 1600,
"currency": "SAR"
},
"sale_price": {
"amount": "0",
"currency": "SAR"
},
"currency": "SAR",
"url": "https://store.test/nabilanazer/dpXnr",
"thumbnail": null,
"has_special_price": false,
"regular_price": {
"amount": "1600",
"currency": "SAR"
},
"favorite": null,
"order": {
"id": "1289663293",
"reference_id": "27290",
"total": {
"amount": "3732",
"currency": "SAR"
}
},
"date": [
"2022-12-31"
],
"items": [
{
"name": "FW180016",
"quantity": "1"
}
]
}
}
Last modified: 19 days ago