POST /accounts/v4/wishlists

Adds an item to the wish list, for an authenticated user with a session. The call is supported for products with a bol.com offer. Products that are only available through third party sellers cannot be placed on a wishlist.

Request URL structure:
https://api.bol.com/accounts/v4/wishlists/{productid}

Request HTTP method:
POST

Request requires session:
X-OpenAPI-Session-ID HTTP header is required. Use the session aquired in login or GET sessions to acquire a valid sessionId.

Parameters:

Name

Location

Data type

Required

Description

productId

Path

Number

Yes

The unique id for a product.

format

Query

Text

No

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

Response XML:

Element

Min

Max

Description

No XML response is returned.

 

Request / Response example

https://api.bol.com/accounts/v4/wishlists/1001004002126206/?apikey={apikey}

Response HTTP status code: 201 – Created