Reviews
GET /reviews/public
Get public reviews for the landing page.
Auth: None
Query: limit (default: 20)
Response:
{
"success": true,
"data": {
"items": [
{
"id": "uuid",
"rating": 5,
"title": "Best POS system!",
"body": "ZiadaPOS has transformed how I manage my shop.",
"store_name": "My Shop",
"created_at": "2024-01-15T00:00:00Z"
}
],
"count": 25
}
}POST /reviews
Submit a store review.
Auth: Required
Request Body:
{
"rating": 5,
"title": "Best POS system!",
"body": "ZiadaPOS has transformed how I manage my shop.",
"trigger": "post_sale"
}Trigger values: post_sale, manual, prompted
Response: StoreReview object.