ProductLink document (Shop API 23.2)
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.
Property | Type | Constraints | Description |
---|---|---|---|
source_product_id |
String | The semantic id of the product from which this product link is coming. | |
source_product_link |
String | The URL addressing the product from which this product link is coming. | |
target_product_id |
String | The semantic id of the product to which this product link is pointing. | |
target_product_link |
String | The URL addressing the product to which this product link is pointing. | |
type |
Enum {cross_sell, replacement, up_sell, accessory, newer_version, alt_orderunit, spare_part, other} | The type of this product link. |
X
OCAPI versions 15.x and 16.x will be retired on March 31, 2021. For dates and more information, see the OCAPI versioning and deprecation policy and this Knowledge Article.