Home > @poq/sdk-sfcc > IProductsClient > getProductsByIDImages
Access product image information of products that are online and assigned to site catalog. Filter the result by view type and variation values.
Signature:
getProductsByIDImages(id: string, viewType?: Array<string>, allImages?: boolean, variationAttribute?: string, locale?: string, options?: RequestOptions): Promise<PoqResponse<Product>>;
| Parameter | Type | Description |
|---|---|---|
| id | string | The requested product id. |
| viewType | Array<string> | (Optional) |
| allImages | boolean | (Optional) |
| variationAttribute | string | (Optional) |
| locale | string | (Optional) |
| options | RequestOptions | (Optional) Override http request option. |
Returns:
Promise<PoqResponse<Product>>