Skip to main content
Skip to main content

retrieve - Stock Location Next Module Reference

This documentation provides a reference to the retrieve method. This belongs to the Stock Location Next Module.

This method retrieves a stock location by its ID.

Example

const stockLocation =
await stockLocationModuleService.retrieve("sloc_123")

Parameters

idstringRequired
The ID of the stock location.
The configurations determining how the stock location is retrieved. Its properties, such as select or relations, accept the attributes or relations associated with a stock location.
contextContext
A context used to share resources, such as transaction manager, between the application and the module.

Returns

PromisePromise<StockLocationDTO>Required
The retrieved stock location.
Was this section helpful?