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