1 type: object
2 description: The order item's details.
3 x-schemaName: AdminOrderItem
4 required:
5 - order_id
6 - item_id
7 - version
8 - history
9 - item
10 properties:
11 order_id:
12 type: string
13 title: order_id
14 description: The ID of the order this item belongs to.
15 item_id:
16 type: string
17 title: item_id
18 description: The ID of the associated line item.
19 version:
20 type: number
21 title: version
22 description: The order item's version.
23 history:
24 type: object
25 description: The order item's history.
26 required:
27 - version
28 properties:
29 version:
30 type: object
31 description: The version changes of the item.
32 required:
33 - from
34 - to
35 properties:
36 from:
37 type: number
38 title: from
39 description: The original version.
40 to:
41 type: number
42 title: to
43 description: The new version.
44 item:
45 $ref: ./AdminOrderLineItem.yaml