|
1
|
/** |
|
2
|
* @schema OrderItem |
|
3
|
* type: object |
|
4
|
* description: The order item's detail. |
|
5
|
* x-schemaName: OrderItem |
|
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 item's ID. |
|
26
|
* item_id: |
|
27
|
* type: string |
|
28
|
* title: item_id |
|
29
|
* description: The ID of the associated line item. |
|
30
|
* item: |
|
31
|
* $ref: "#/components/schemas/OrderLineItem" |
|
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: delivered_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 received through a return. |
|
56
|
* return_dismissed_quantity: |
|
57
|
* type: number |
|
58
|
* title: return_dismissed_quantity |
|
59
|
* description: The item's quantity that's returned but dismissed because it's damaged. |
|
60
|
* written_off_quantity: |
|
61
|
* type: number |
|
62
|
* title: written_off_quantity |
|
63
|
* description: The item's quantity that's removed due to an order change. |
|
64
|
* metadata: |
|
65
|
* type: object |
|
66
|
* description: The item's metadata, can hold custom key-value pairs. |
|
67
|
* externalDocs: |
|
68
|
* url: https://docs.medusajs.com/api/store#manage-metadata |
|
69
|
* description: Learn how to manage metadata |
|
70
|
* created_at: |
|
71
|
* type: string |
|
72
|
* format: date-time |
|
73
|
* title: created_at |
|
74
|
* description: The date the item was created. |
|
75
|
* updated_at: |
|
76
|
* type: string |
|
77
|
* format: date-time |
|
78
|
* title: updated_at |
|
79
|
* description: The date the item was updated. |
|
80
|
* |
|
81
|
*/ |
|
82
|
|