|
1
|
{ |
|
2
|
"InventoryLevel": { |
|
3
|
"filePath": "packages/modules/inventory/src/models/inventory-level.ts", |
|
4
|
"properties": { |
|
5
|
"id": "The ID of the inventory level.", |
|
6
|
"location_id": "The ID of the inventory level's location. When used with the [Stock Location Module](https://docs.medusajs.com/resources/commerce-modules/stock-location), the ID will be a `StockLocation`'s ID.", |
|
7
|
"stocked_quantity": "The stocked quantity of the inventory level", |
|
8
|
"reserved_quantity": "The reserved quantity of the inventory level", |
|
9
|
"incoming_quantity": "The incoming quantity of the inventory level", |
|
10
|
"metadata": "Holds custom data in key-value pairs.", |
|
11
|
"inventory_item": "The associated inventory item.\n\n@expandable", |
|
12
|
"available_quantity": "The available quantity of the inventory level" |
|
13
|
}, |
|
14
|
"deprecated": { |
|
15
|
"is_deprecated": false |
|
16
|
} |
|
17
|
}, |
|
18
|
"ReservationItem": { |
|
19
|
"filePath": "packages/modules/inventory/src/models/reservation-item.ts", |
|
20
|
"properties": { |
|
21
|
"id": "The ID of the reservation item.", |
|
22
|
"line_item_id": "The ID of the reservation item's line item.", |
|
23
|
"allow_backorder": "Whether the underlying item can still be ordered despite the reserved quantity.", |
|
24
|
"location_id": "The ID of the location that the quantity is reserved from. When used with the [Stock Location Module](https://docs.medusajs.com/resources/commerce-modules/stock-location), the ID will be a `StockLocation`'s ID.", |
|
25
|
"quantity": "The reserved quantity.", |
|
26
|
"raw_quantity": "The raw reserved quantity.", |
|
27
|
"external_id": "The external ID of the reservation item. Can store an ID from a third-party system.", |
|
28
|
"description": "The description of the reservation item", |
|
29
|
"created_by": "The ID of the user that created the reservation item.", |
|
30
|
"metadata": "Holds custom data in key-value pairs.", |
|
31
|
"inventory_item": "The associated inventory item.\n\n@expandable" |
|
32
|
}, |
|
33
|
"deprecated": { |
|
34
|
"is_deprecated": false |
|
35
|
} |
|
36
|
}, |
|
37
|
"InventoryItem": { |
|
38
|
"filePath": "packages/modules/inventory/src/models/inventory-item.ts", |
|
39
|
"properties": { |
|
40
|
"id": "The ID of the inventory item.", |
|
41
|
"sku": "The SKU of the inventory item", |
|
42
|
"origin_country": "The origin country of the inventory item", |
|
43
|
"hs_code": "The HS code of the inventory item", |
|
44
|
"mid_code": "The MID code of the inventory item", |
|
45
|
"material": "The material of the inventory item", |
|
46
|
"weight": "The weight of the inventory item", |
|
47
|
"length": "The length of the inventory item", |
|
48
|
"height": "The height of the inventory item", |
|
49
|
"width": "The width of the inventory item", |
|
50
|
"requires_shipping": "Whether the inventory item requires shipping.", |
|
51
|
"description": "The description of the inventory item", |
|
52
|
"title": "The title of the inventory item", |
|
53
|
"thumbnail": "The thumbnail URL of the inventory item", |
|
54
|
"metadata": "Holds custom data in key-value pairs.", |
|
55
|
"location_levels": "The associated location levels.\n\n@expandable", |
|
56
|
"reservation_items": "The associated reservation items.\n\n@expandable", |
|
57
|
"reserved_quantity": "The reserved quantity of the inventory item", |
|
58
|
"stocked_quantity": "The stocked quantity of the inventory item", |
|
59
|
"unit_of_measure": "The unit of measure of the inventory item" |
|
60
|
}, |
|
61
|
"deprecated": { |
|
62
|
"is_deprecated": false |
|
63
|
} |
|
64
|
} |
|
65
|
} |