1 export default `
2 type InventoryItem {
3 id: ID!
4 created_at: DateTime!
5 updated_at: DateTime!
6 deleted_at: DateTime
7 sku: String
8 origin_country: String
9 hs_code: String
10 mid_code: String
11 material: String
12 unit_of_measure: String
13 weight: Int
14 length: Int
15 height: Int
16 width: Int
17 requires_shipping: Boolean!
18 description: String
19 title: String
20 thumbnail: String
21 metadata: JSON
22 location_levels: [InventoryLevel]
23 reservation_items: [ReservationItem]
24 reserved_quantity: Float!
25 stocked_quantity: Float!
26 }
27
28 type InventoryLevel {
29 id: ID!
30 created_at: DateTime!
31 updated_at: DateTime!
32 deleted_at: DateTime
33 inventory_item_id: String!
34 inventory_item: InventoryItem!
35 location_id: String!
36 stocked_quantity: Float!
37 reserved_quantity: Float!
38 incoming_quantity: Float!
39 metadata: JSON
40 available_quantity: Float!
41 }
42
43 type ReservationItem {
44 id: ID!
45 created_at: DateTime!
46 updated_at: DateTime!
47 deleted_at: DateTime
48 line_item_id: String
49 allow_backorder: Boolean!
50 inventory_item_id: String!
51 inventory_item: InventoryItem!
52 location_id: String!
53 quantity: Float!
54 external_id: String
55 description: String
56 created_by: String
57 metadata: JSON
58 }
59 `