Waiters
PATCH
Update Waiters
Update an existing waiter.
Required Permission:
Edit Waiter
PATCH
/waiters/{id}
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, max:255 | The name |
| String | Optional | string, unique (ignore self) | The email | |
| phone | String | Required | string, unique (ignore self) | The phone |
| date_of_birth | Date | Optional | date, Y-m-d format | The date of birth |
| address | String | Optional | string | The address |
| photo | File | Optional | image, max:2048KB | The photo |
| note | String | Optional | string | The note |
Response
200 OKStatus Code
HTTP status code (200)
Message
Human-readable description
Data
Updated waiter details