Poq.SDK.Node

Home > @poq/sdk-sfcc > ProductLink

Document representing a link between two products. It contains the id of the source and target products, the type of product link, and URLs to retrieve product data.

Signature:

export declare class ProductLink extends BaseModel<ProductLink> 

Extends: BaseModel<ProductLink

Constructors

Constructor Modifiers Description
(constructor)(params)   Constructs a new instance of the ProductLink class

Properties

Property Modifiers Type Description
sourceProductId?   string (Optional) The semantic id of the product from which this product link is coming.
sourceProductLink?   string (Optional) The URL addressing the product from which this product link is coming.
targetProductId?   string (Optional) The semantic id of the product to which this product link is pointing.
targetProductLink?   string (Optional) The URL addressing the product to which this product link is pointing.
type?   ProductLinkTypeEnum (Optional) The type of this product link.