This endpoint adds a product to the customer's wishlist. A customer's wishlist is a collection of desired products saved to the customer's account, indicating interest but not an immediate intent to buy.
Payload authenticated
#
The id of the product to be added to a wishlist.
Response#
Usage#
To perform the action of adding a product to the customer's wishlist, the method add()
may be used as follows.Events#
This endpoint may trigger two events, the onAdded and onAdditionFailed events.onAdded#
This event is triggered when adding a product to the customer's wishlist is done without having any errors coming back from the backend.onAdditionFailed#
This event is triggered when adding a product to the customer's wishlist is not completed and an error has occurred. Modified at 2024-02-18 11:42:32