Skip to main content
The Storefront API for wish lists allows products to be saved, managed, and quickly found again later. It offers endpoints for creating, renaming, and deleting wish lists as well as for adding and removing individual products.

Supported methods

List of all supported methods.

Methods for the wish list

With these methods, wish lists in the customer account can be managed: you can either load individual wish lists including the saved products or list all wish lists belonging to the logged-in user. In addition, you can check whether or how often a product is on wish lists, create new wish lists, add products (individually or in bulk) to one or more wish lists or remove them again, as well as rename or delete entire wish lists.

watchList/load

The following call loads a wish list including all saved items. It can be used to further process wish lists together with product data. Example call that displays the wish list with the ID watchlist_132_cf76964799db4ce

Parameter overview

Header parameters

Body parameters

Example response

GET watchList/list

The following call displays all wish lists of the currently logged-in customer account. It can be used to display, select, or switch between multiple wish lists of a user.

Parameter overview

Header parameters

Example response

GET watchList/getItemId

The following call returns the position ID of a specific product within a particular wish list. The position ID is the same as the ID of an entry in watchList/load. Example call that returns the position of the product with the ID 146-78608 from the wish list with the ID watchlist_132_cf76964799db4ce

Parameter overview

Header parameters

Body parameters

Example response

GET watchList/checkHasProduct

The following call can be used to check whether a particular product is already on a specific wish list. It can be used to toggle wish list buttons or prevent duplicate entries. Example call to check whether the product with the ID 146-78608 is present on the wish list with the ID watchlist_132_cf76964799db4ce

Parameter overview

Header parameters

Body parameters

Example response

GET watchList/countListsWithProduct

The following call counts how many wish lists the specified product is saved on. It can be used on product and category pages to signal that the product is in demand, and can be displayed, for example, with the notice “Saved on xxx wish lists”. Example call that counts how often the product with the ID 146-78608 is on wish lists

Parameter overview

Header parameters

Body parameters

Example response

POST watchList/add

The following call creates a new wish list for the currently logged-in user. Example call that creates a new wish list with the name "Please, I need this"

Example request

Parameter overview

Header parameters

Body parameters

Example response

Error codes

PUT watchList/addItem

The following call lets you add one or more products to one or more wish lists. It can be used for wish list buttons on product/listing pages as well as for bulk actions. Example call that adds the products with the ID 147-15732 and 146-78608 to the wish list with the ID watchlist_132_cf76964799db4ce

Example request

Parameter overview

Header parameters

Body parameters

Example response

Error codes

PUT watchList/rename

The following call renames an existing wish list. Example call that renames the wish list with the ID watchlist_132_cf76964799db4ce to "List 67"

Example request

Parameter overview

Header parameters

Body parameters

Example response

Error codes

DELETE watchList/deleteItem

This call removes a particular product from a wish list. Example call that removes the product with the watchListItemId 6d90bbb6c33294ddcd91 (this ID is obtained via the call to watchList/getItemId) from the wish list with the ID watchlist_132_cf76964799db4ce

Example request

Parameter overview

Header parameters

Body parameters

Example response

Error codes

DELETE watchList/delete

The following call permanently deletes an existing wish list. Example call that permanently removes the wish list with the ID watchlist_132_cf76964799db4ce

Example request

Parameter overview

Header parameters

Body parameters

Example response

Error codes