/api/item1
Provides full detail for a single item including alternative units, tour-specific order limits, and related items (recipes/packages), if this data exists.
Change Note: replaces legacy json/item.jsp with POJO pattern
Parameters
| Name | Description | Type |
|---|---|---|
| id | item id | int |
| oo-rf | optionally define the response-format for this call. One of: compact (default) | compacts | full | fulls | json | md | html | js | openapi | yaml | String |
| oo-auth | optionally force the API to check against the role (instead of silently not returning data). For guests or public access, the default is -1. 0 (regular customer) and above define the role for which the current session is expected to be authorized. | int |
Response Types
| Type | Version | Description |
|---|---|---|
| Item | 22 | A warehouse Item |
| ItemDetail | 1 | Extended item information such as long description HTML |
| XUnit | 5 | Alternative Units |
| TourLimit | 2 | Item order limits applicable for individual tours |
| RelatedItem | 2 | Items may have relations to other items (like recommended additions or as ingredient) |
OpenAPI
See item1.yaml