Patrons
Show Patron
Retrieve detailed patron information including tags, stats, and visit history summary.
Authorization
bearerAuth AuthorizationBearer <token>
Supports two token types:
- Restaurant tokens — API tokens with
restaurant-apiability, issued per restaurant. - User tokens — Personal access tokens with
mobile-accessability (e.g. for the mobile app). When managing multiple restaurants, includeX-Restaurant-Id: <id>header.
In: header
Path Parameters
patron*integer
Patron ID.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://devrms.tabdevx.com/api/restaurant/patrons/0"{
"data": {
"id": 456,
"name": "John Doe",
"email": "john@example.com",
"mobile_number": "+35612345678",
"mobile_prefix": "+356",
"comments": "Prefers window seat",
"is_vip": false,
"is_vegan": false,
"is_vegetarian": false,
"walkin": false,
"tags": {
"is_vip": false,
"is_wine_lover": true,
"is_vegan": false,
"is_vegetarian": false,
"is_always_late": false,
"is_low_spender": false,
"is_high_spender": true,
"is_with_pet": false,
"is_gluten_intolerant": false,
"is_lactose_intolerant": false,
"is_allergic_to_nuts": false,
"is_allergic_to_shellfish": false
},
"stats": {
"total_bookings": 12,
"cancelled_bookings": 1,
"no_show_bookings": 0,
"last_booking_date": "2026-05-28 20:00"
}
}
}{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "Booking not found.",
"details": null
},
"meta": {
"timestamp": "2026-03-18T10:00:00Z"
}
}{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z"
}
}