ReservationItem - Inventory Next Module Data Models Reference

This documentation provides a reference to the ReservationItem data model. It belongs to the Inventory Next Module.

idPrimaryKeyModifier<IdProperty>
The ID of the reservation item.
allow_backorderBooleanProperty
Whether the underlying item can still be ordered despite the reserved quantity.
location_idTextProperty
The ID of the location that the quantity is reserved from. When used with the Stock Location Module, the ID will be a StockLocation's ID.
quantityBigNumberProperty
The reserved quantity.
raw_quantityJSONProperty
The raw reserved quantity.
inventory_itemBelongsTo<InventoryItem>
The associated inventory item.
line_item_idTextPropertyOptional
The ID of the reservation item's line item.
external_idTextPropertyOptional
The external ID of the reservation item. Can store an ID from a third-party system.
descriptionTextPropertyOptional
The description of the reservation item
created_byTextPropertyOptional
The ID of the user that created the reservation item.
metadataJSONPropertyOptional
Holds custom data in key-value pairs.
Was this page helpful?
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break