← API Index
/api/assortment13
Content of a give Assortment, Assortment items as Item and CartItem lists with tour limits, xunits and related items
Parameters
| Name |
Description |
Type |
| assortmentid |
assortment box 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 |
| CartItem |
1 |
An item with amount and unit, may be from cart or from a previous order or an assortment position |
| Item |
22 |
A warehouse Item |
| TourLimit |
2 |
Item order limits applicable for individual tours |
| RelatedItem |
2 |
Items may have relations to other items (like recommended additions or as ingredient) |
| XUnit |
5 |
Alternative Units |
OpenAPI
See assortment13.yaml
Referenced in skills