1 type: object
2 description: The properties to update in the inventory item.
3 properties:
4 sku:
5 type: string
6 title: sku
7 description: The inventory item's SKU.
8 hs_code:
9 type: string
10 title: hs_code
11 description: The inventory item's HS code.
12 weight:
13 type: number
14 title: weight
15 description: The inventory item's weight.
16 length:
17 type: number
18 title: length
19 description: The inventory item's length.
20 height:
21 type: number
22 title: height
23 description: The inventory item's height.
24 width:
25 type: number
26 title: width
27 description: The inventory item's width.
28 origin_country:
29 type: string
30 title: origin_country
31 description: The inventory item's origin country.
32 mid_code:
33 type: string
34 title: mid_code
35 description: The inventory item's MID code.
36 material:
37 type: string
38 title: material
39 description: The inventory item's material.
40 title:
41 type: string
42 title: title
43 description: The inventory item's title.
44 description:
45 type: string
46 title: description
47 description: The inventory item's description.
48 requires_shipping:
49 type: boolean
50 title: requires_shipping
51 description: Whether the inventory item requires shipping.
52 thumbnail:
53 type: string
54 title: thumbnail
55 description: >-
56 The URL of an image to be used as the inventory item's thumbnail. You can
57 use the Upload API routes to upload an image and get its URL.
58 metadata:
59 type: object
60 description: The inventory item's metadata. Can be custom data in key-value pairs.
61 externalDocs:
62 url: https://docs.medusajs.com/api/admin#manage-metadata
63 description: Learn how to manage metadata
64 unit_of_measure:
65 type: string
66 title: unit_of_measure
67 description: The inventory item's unit of measure.
68 example: kg
69 x-schemaName: AdminUpdateInventoryItem