1 /**
2 * @schema BaseOrderItemDetail
3 * type: object
4 * description: The item's detail.
5 * x-schemaName: BaseOrderItemDetail
6 * required:
7 * - id
8 * - item_id
9 * - item
10 * - quantity
11 * - fulfilled_quantity
12 * - delivered_quantity
13 * - shipped_quantity
14 * - return_requested_quantity
15 * - return_received_quantity
16 * - return_dismissed_quantity
17 * - written_off_quantity
18 * - metadata
19 * - created_at
20 * - updated_at
21 * properties:
22 * id:
23 * type: string
24 * title: id
25 * description: the detail's ID.
26 * item_id:
27 * type: string
28 * title: id
29 * description: the ID of the associated line item.
30 * item:
31 * $ref: "#/components/schemas/BaseOrderLineItem"
32 * quantity:
33 * type: number
34 * title: quantity
35 * description: The item's quantity.
36 * fulfilled_quantity:
37 * type: number
38 * title: fulfilled_quantity
39 * description: The item's fulfilled quantity.
40 * delivered_quantity:
41 * type: number
42 * title: fulfilled_quantity
43 * description: The item's delivered quantity.
44 * shipped_quantity:
45 * type: number
46 * title: shipped_quantity
47 * description: The item's shipped quantity.
48 * return_requested_quantity:
49 * type: number
50 * title: return_requested_quantity
51 * description: The item's quantity that's requested to be returned.
52 * return_received_quantity:
53 * type: number
54 * title: return_received_quantity
55 * description: The item's quantity that's returned and added to the underlying variant's stocked quantity.
56 * return_dismissed_quantity:
57 * type: number
58 * title: return_dismissed_quantity
59 * description: The item's quantity that's returned but damaged. So, it's not added to the underlying variant's stocked quantity.
60 * written_off_quantity:
61 * type: number
62 * title: written_off_quantity
63 * description: The item's quantity that's removed from the order.
64 * metadata:
65 * type: object
66 * title: metadata
67 * description: The item's metadata, can hold custom key-value pairs.
68 * created_at:
69 * type: string
70 * format: date-time
71 * title: created_at
72 * description: The date the detail was created.
73 * updated_at:
74 * type: string
75 * format: date-time
76 * title: updated_at
77 * description: The date the detail was updated.
78 *
79 */
80