Home > @poq/sdk > ProductClient > getByVariantIds
Method returns list of products specified by list of variant ids.
Signature:
getByVariantIds(appIdentifier: string, currencyIdentifier: string, variantIds: 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. |
variantIds | string[] | The collection of identifiers of the specific product’s variants. |
Returns:
Promise<PoqResponse<Product[]>>
List of products.