Poq.SDK.Node

Home > @poq/sdk > IProductClient > getByIds

IProductClient.getByIds() method

Method returns list of products specified by list of ids.

Signature:

getByIds(appIdentifier: string, currencyIdentifier: string, ids: string[]): Promise<PoqResponse<Product[]>>;

Parameters

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.