Skip to main content
Skip to main content

retrieve - Store Module Reference

This documentation provides a reference to the retrieve method. This belongs to the Store Module.

This method retrieves a store by its ID.

Example

const store = await storeModuleService.retrieve("store_123")

Parameters

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

Returns

PromisePromise<StoreDTO>Required
The retrieved store.
Was this section helpful?