1 type: object
2 description: The item's details.
3 x-schemaName: BaseExchangeItem
4 required:
5 - id
6 - exchange_id
7 - order_id
8 - item_id
9 - quantity
10 - created_at
11 - updated_at
12 properties:
13 id:
14 type: string
15 title: id
16 description: The item's ID.
17 exchange_id:
18 type: string
19 title: exchange_id
20 description: The ID of the exchange this item belongs to.
21 order_id:
22 type: string
23 title: order_id
24 description: The ID of the order this item belongs to.
25 item_id:
26 type: string
27 title: item_id
28 description: The ID of the item in the order.
29 quantity:
30 type: number
31 title: quantity
32 description: The item's quantity.
33 metadata:
34 type: object
35 description: The item's metadata, can hold custom key-value pairs.
36 externalDocs:
37 url: https://docs.medusajs.com/api/store#manage-metadata
38 description: Learn how to manage metadata
39 created_at:
40 type: string
41 format: date-time
42 title: created_at
43 description: The date the item was created.
44 updated_at:
45 type: string
46 format: date-time
47 title: updated_at
48 description: The date the item was updated.
49 item:
50 $ref: ./AdminOrderLineItem.yaml