1 type: object
2 description: The inventory item's details.
3 x-schemaName: AdminInventoryItem
4 required:
5 - id
6 - requires_shipping
7 - stocked_quantity
8 - reserved_quantity
9 properties:
10 id:
11 type: string
12 title: id
13 description: The inventory item's ID.
14 sku:
15 type: string
16 title: sku
17 description: The inventory item's sku.
18 origin_country:
19 type: string
20 title: origin_country
21 description: The inventory item's origin country.
22 hs_code:
23 type: string
24 title: hs_code
25 description: The inventory item's HS code.
26 requires_shipping:
27 type: boolean
28 title: requires_shipping
29 description: Whether the inventory item requires shipping.
30 mid_code:
31 type: string
32 title: mid_code
33 description: The inventory item's MID code.
34 material:
35 type: string
36 title: material
37 description: The inventory item's material.
38 weight:
39 type: number
40 title: weight
41 description: The inventory item's weight.
42 length:
43 type: number
44 title: length
45 description: The inventory item's length.
46 height:
47 type: number
48 title: height
49 description: The inventory item's height.
50 width:
51 type: number
52 title: width
53 description: The inventory item's width.
54 title:
55 type: string
56 title: title
57 description: The inventory item's title.
58 description:
59 type: string
60 title: description
61 description: The inventory item's description.
62 thumbnail:
63 type: string
64 title: thumbnail
65 description: The thumbnail URL of the inventory item.
66 metadata:
67 type: object
68 description: >-
69 Custom key-value pairs, used to store additional information about the
70 inventory item.
71 location_levels:
72 type: array
73 description: The inventory item's location levels.
74 items:
75 $ref: ./AdminInventoryLevel.yaml
76 stocked_quantity:
77 type: number
78 title: stocked_quantity
79 description: The inventory item's stocked quantity.
80 reserved_quantity:
81 type: number
82 title: reserved_quantity
83 description: The inventory item's reserved quantity.
84 unit_of_measure:
85 type: string
86 title: unit_of_measure
87 description: The inventory's unit of measure.
88 example: kg