Skip to main content

useFetchEntityByShortId

Overview

The useFetchEntityByShortId hook is used to retrieve details of a specific entity by providing its shortId.

Usage Example

Parameters & Returns

Parameters

The hook returns a function that accepts an object with the following fields:
shortId
string
required
The short identifier for the entity.

Returns

The function resolves with an object representing the fetched entity:
Entity
object
The details of the retrieved entity.