GET /catalog/v4/relatedproducts

This call returns all related products for a given product

Request URL structure:

https://api.bol.com/catalog/v4/relatedproducts/{productid}

Request HTTP method:

GET

Request requires session:

No

Request parameters:

Name Location Data type Required Description

dataset

Query

text

No

use ‘productfamily’ as value to get the related productfamilies (For example a different color of the same product) or ‘accessories’ to get the accessories(For example a memory card for a digital camera). You can also use both (comma separated) to get both, productfamilies and accessories. Default=’productfamily,accessories’

format

Query

Text

No

json (default): the response is returned in JSON. xml: the response is returned in XML

country

Query

Text

No

Signifies whether the shopping context is Dutch (NL; default) or Belgium (BE). This can influence search ranking, and whether some products and offers are returned

 

Response:

Element

Min

Max

Description

ProductFamilies

0

The productfamilies for the product. See definition of productfamily for details

Accessories

0

The accessories that are available for the product

Request / Response example:

https://api.bol.com/catalog/v4/relatedproducts/9200000010839998?dataset=accessories&apikey={apikey}

Response HTTP status code: 200

Example response: JSONXML