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