|
1
|
/** |
|
2
|
* @schema AdminCreateInventoryItem |
|
3
|
* type: object |
|
4
|
* description: The inventory item's details. |
|
5
|
* x-schemaName: AdminCreateInventoryItem |
|
6
|
* properties: |
|
7
|
* sku: |
|
8
|
* type: string |
|
9
|
* title: sku |
|
10
|
* description: The inventory item's SKU. |
|
11
|
* hs_code: |
|
12
|
* type: string |
|
13
|
* title: hs_code |
|
14
|
* description: The inventory item's HS code. |
|
15
|
* weight: |
|
16
|
* type: number |
|
17
|
* title: weight |
|
18
|
* description: The inventory item's weight. |
|
19
|
* length: |
|
20
|
* type: number |
|
21
|
* title: length |
|
22
|
* description: The inventory item's length. |
|
23
|
* height: |
|
24
|
* type: number |
|
25
|
* title: height |
|
26
|
* description: The inventory item's height. |
|
27
|
* width: |
|
28
|
* type: number |
|
29
|
* title: width |
|
30
|
* description: The inventory item's width. |
|
31
|
* origin_country: |
|
32
|
* type: string |
|
33
|
* title: origin_country |
|
34
|
* description: The inventory item's origin country. |
|
35
|
* mid_code: |
|
36
|
* type: string |
|
37
|
* title: mid_code |
|
38
|
* description: The inventory item's mid code. |
|
39
|
* material: |
|
40
|
* type: string |
|
41
|
* title: material |
|
42
|
* description: The inventory item's material. |
|
43
|
* title: |
|
44
|
* type: string |
|
45
|
* title: title |
|
46
|
* description: The inventory item's title. |
|
47
|
* description: |
|
48
|
* type: string |
|
49
|
* title: description |
|
50
|
* description: The description of the variant associated with the inventory item. |
|
51
|
* requires_shipping: |
|
52
|
* type: boolean |
|
53
|
* title: requires_shipping |
|
54
|
* description: Whether the item requires shipping. |
|
55
|
* thumbnail: |
|
56
|
* type: string |
|
57
|
* title: thumbnail |
|
58
|
* description: The inventory item's thumbnail. |
|
59
|
* metadata: |
|
60
|
* type: object |
|
61
|
* description: The inventory item's metadata, used to store custom key-value pairs. |
|
62
|
* externalDocs: |
|
63
|
* url: https://docs.medusajs.com/api/admin#manage-metadata |
|
64
|
* description: Learn how to manage metadata |
|
65
|
* location_levels: |
|
66
|
* type: array |
|
67
|
* description: The inventory item's location levels. |
|
68
|
* items: |
|
69
|
* $ref: "#/components/schemas/AdminBatchCreateInventoryItemLocationLevels" |
|
70
|
* unit_of_measure: |
|
71
|
* type: string |
|
72
|
* title: unit_of_measure |
|
73
|
* description: The inventory item's unit of measure. |
|
74
|
* example: kg |
|
75
|
* |
|
76
|
*/ |
|
77
|
|