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