← API Index


Position (v2)

An order line item position

# Field Type Description
0 iid int item id reference
1 amount double ordered amount
2 unit string unit clear text name (translatable)
3 price double position price. if != 0, the backend did set a price already, otherwise fetch/show the price from the Item
4 aboboxenid int assortment box reference (0 if none)
5 deleted int 1 if this position was deleted
6 packstation int packing station id
7 packlate int 1 if this position was packed late
8 packNote string packing note (only if packed late with hint)
9 boxname string assortment box name (translatable)
10 damount double delivered amount
11 aboid int subscription id (0 if not a subscription. -8: resolved recipe, dont show any price and dont sum this price up.)
12 discount int discount percentage
13 protection int protection flag
14 note string position note (translatable)
15 baseunit string base unit name
16 amountmin double minimum order amount
17 amountmax double maximum order amount
18 regio string regional origin code of the position at the time of ordering
19 pcgId int internal backend id. Only provided if the request comes with admin permissions
20 unitid int internal backend unit id. Will be used if there is not match on the unit name. if <0, it specifies an alternative unit

Used in endpoints

Other versions