| Action | Method | Resource | Description |
|---|---|---|---|
| Get all | GET | /printers | Get all printers. |
| Get | GET | /printers/:printer_id | Get printer with id printer_id. |
| Create | POST | /printers | Create a printer. |
| Update | PUT | /printers/:printer_id | Update printer with printer_id. |
| Delete | DELETE | /printers/:printer_id | Delete printer with printer_id. |
| Get queue | GET | business/business_id/queue | Obtain the last order made in the business to print. |
| Confirm queue | GET | business/business_id/queue | Confirm the order from the printer. |
The printer model is composed of the following attributes:
| Attribute | Type | Required | Description |
|---|---|---|---|
| model | string | yes | The printer's model. |
Printers only can be created, updated o removed by user level 0 (Type:
Administrator).
Users level 2 (Type:Business) only can list printers.

