Waiters
POST
Create Waiters
Create a new waiter.
Required Permission:
Create Waiter
POST
/waiters
Request Body
JSONRequest Parameters
| Parameter | Type | Required | Validation | Description |
|---|---|---|---|---|
| name | String | Required | string, max:255 | The name |
| String | Optional | string, unique, max:255 | The email (unique) | |
| phone | String | Required | string, unique, max:255 | The phone (unique) |
| 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
201 CreatedStatus Code
HTTP status code (201)
Message
Human-readable description
Data
Created waiter details