---
title: "Delete all wishlist items"
method: POST
path: "/delete-all-wishlists"
tags: ["Wishlist"]
---

# Delete all wishlist items

`POST /delete-all-wishlists`

## Request

- Base URL: `http://localhost:8000/api/shop`
- URL: `http://localhost:8000/api/shop/delete-all-wishlists`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-shop-api/docs/delete-all-wishlists/post.ts> (a function with typed inputs; its response is checked against the schema)

Removes every wishlist item for the authenticated customer. Send an empty JSON body `{}`. Returns the count removed.

## Headers

- `X-STOREFRONT-KEY` string, required
- `X-Locale` string
- `X-Channel` string
- `X-Currency` string

## Request body

- object

## Response `201`

All wishlist items removed.

## Other responses

- `400`: Invalid input
- `422`: Validation Error

---

[API](https://skmtc.dev/bagisto/apis/bagisto-shop-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-shop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-shop-api/revisions/f619df36bf29?raw)
