This operation deletes the wishlist identified in the URI token.
token
JavaScript
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));
{ "error": "You are not authorized to access this page." }
Documentation IndexFetch the complete documentation index at: https://spreecommerce.org/docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://spreecommerce.org/docs/llms.txt
Use this file to discover all available pages before exploring further.
User token to authorize Cart and Checkout requests.
It is required to associate Cart with the User.
The token is a unique string used to identify the target resource.
204 Success - No Content
Was this page helpful?
Contact support