Delete Item from Wishlist
Removes a wished item from a wishlist.
DELETE
Delete Item from Wishlist
Authorizations
User token to authorize Cart and Checkout requests.
It is required to associate Cart with the User.
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
Removes a wished item from a wishlist.
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://demo.spreecommerce.org/api/v2/storefront/wishlists/{token}/remove_item/{item_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://demo.spreecommerce.org/api/v2/storefront/wishlists/{token}/remove_item/{item_id} \
--header 'Authorization: Bearer <token>'User token to authorize Cart and Checkout requests.
It is required to associate Cart with the User.
Was this page helpful?
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://demo.spreecommerce.org/api/v2/storefront/wishlists/{token}/remove_item/{item_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://demo.spreecommerce.org/api/v2/storefront/wishlists/{token}/remove_item/{item_id} \
--header 'Authorization: Bearer <token>'