Clear all items from a favorite list
PATCH/v2/favoritelists/:id/clear-items
Removes all products and/or clusters from a favorite list based on the specified parameters.
This operation provides selective clearing:
- Clear all products only
- Clear all clusters only
- Clear both products and clusters
- Clear nothing (if both parameters are false)
Default Behavior: If no parameters are provided, nothing is cleared.
Request
Responses
- 200
- 400
- 403
- 404
- 500
The specified items have been successfully cleared from the favorite list.
The provided ID format is invalid.
You do not have permission to modify this favorite list.
The favorite list with the specified ID was not found.
An unexpected error occurred while clearing items.