Action | Method | Resource | Description |
---|---|---|---|
Get all |
|
| Get all extras with |
Get |
|
| Get extra with id |
Create |
|
| Create a extra with |
Update |
|
| Update menu with |
Delete |
|
| Delete menu with |
The extra model (product options group) is composed of the following attributes:
Attribute | Type | Required | Description | Whereable |
---|---|---|---|---|
name | string | no, required to create. | The extra's name. | Yes |
description | string | no | The extra's description. | Yes |
enabled | boolean | no | The extra's status. | Yes |
Restrictions for POST, PUT, DELETE products extras.
Products extras can only be created, updated or removed by user level 0 (Type: Administrator) and user level 2 (Type: Business owner).
- User type Administrator can create, update or remove any products extras for any business.
- User type Business owner can create, update or remove only products extra related to his business.