Poq.SDK.Node

Home > @poq/sdk-sfcc > BatchProductsClient > getProductsByIDs

BatchProductsClient.getProductsByIDs() method

Signature:

getProductsByIDs(ids: string[], expand?: string[], inventoryIds?: string[], currency?: string, locale?: string, allImages?: boolean, options?: Partial<Omit<AxiosRequestConfig<any>, 'headers'> & {
        authInfo?: AuthInfo | undefined;
        query: Record<string, string | string[] | undefined>;
        headers: IncomingHttpHeaders & Record<string, string>;
        batchSize?: number;
    }>): Promise<PoqResponse<ProductResult>>;

Parameters

Parameter Type Description
ids string[]  
expand string[] (Optional)
inventoryIds string[] (Optional)
currency string (Optional)
locale string (Optional)
allImages boolean (Optional)
options Partial<Omit<AxiosRequestConfig<any>, ‘headers’> & { authInfo?: AuthInfo | undefined; query: Record<string, string | string[] | undefined>; headers: IncomingHttpHeaders & Record<string, string>; batchSize?: number; }> (Optional)

Returns:

Promise<PoqResponse<ProductResult>>