Home > @poq/sdk > ProductClient > getByIds
Method returns list of products specified by list of ids.
Signature:
getByIds(appIdentifier: string, currencyIdentifier: string, ids: string[]): Promise<PoqResponse<Product[]>>;
| Parameter | Type | Description |
|---|---|---|
| appIdentifier | string | The unique guid v4 app identifier. |
| currencyIdentifier | string | The ISO currency code is the three-letter alphabetic code that represent the various currencies used throughout the world. |
| ids | string[] | List of product ids. |
Returns:
Promise<PoqResponse<Product[]>>
List of products.