Delete a Wishlist
This operation deletes the wishlist identified in the URI token.
DELETE
Delete a Wishlist
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
This operation deletes the wishlist identified in the URI token.
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://demo.spreecommerce.org/api/v2/storefront/wishlists/{token}', 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} \
--header 'Authorization: Bearer <token>'{
"error": "You are not authorized to access this page."
}Was this page helpful?
const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://demo.spreecommerce.org/api/v2/storefront/wishlists/{token}', 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} \
--header 'Authorization: Bearer <token>'{
"error": "You are not authorized to access this page."
}