- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
retrieveInventoryItem - Inventory Next Module Reference
This documentation provides a reference to the retrieveInventoryItem
method. This belongs to the Inventory Next Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
This method retrieves an inventory item by its ID.
Example#
A simple example that retrieves a inventory item by its ID:
To specify relations that should be retrieved:
Parameters#
inventoryItemId
stringThe inventory item's ID.
The configurations determining how the inventory item is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a inventory item.
select
or relations
, accept the
attributes or relations associated with a inventory item.A context used to share resources, such as transaction manager, between the application and the module.
Returns#
Promise
Promise<InventoryItemDTO>The retrieved inventory item.
Promise
Promise<InventoryItemDTO>Was this page helpful?