> For the complete documentation index, see [llms.txt](https://the-wishlist-documentation.gitbook.io/the-wishlist-documentation-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://the-wishlist-documentation.gitbook.io/the-wishlist-documentation-docs/wishlist-rest-api/wishlists/deleteallwishlists.md).

# deleteAllWishlists

Delete all of a given customer's wishlists.\
This marks the specified customer’s wishlist(s) as deleted and produces an HTTP response confirming the action. The customer is identified either by the TWC Internal customer ***id*** or the retailers own ***customerRef***.

The wishlists are actually retained in the system for reporting purposes, but are de-identified so cannot be linked back to the customer.

If the wishlist does not exist, this method returns a ResourceNotFound error.

```json
{"openapi":"3.0.3","info":{"title":"Wishlist REST API","version":"0.0.1"},"tags":[{"name":"wishlists","description":"Create, read, update and delete wishlists, and look them up by id, reference or customer."}],"servers":[{"url":"https://api.au-aws.thewishlist.io/services/wsservice"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","scheme":"bearer","description":"OAuth2 bearer token issued by TWC Keycloak, sent as `Bearer <token>`."}},"parameters":{"customerId":{"name":"customerId","in":"query","required":false,"description":"TWC's unique customer identifier","schema":{"type":"string"}},"customerRef":{"name":"customerRef","in":"query","required":false,"description":"The retailer's internal customer identifier.  For Shopify customers this is the Shopify customer identifier.","schema":{"type":"string"}},"X-TWC-Tenant-2":{"name":"X-TWC-Tenant","in":"header","required":false,"description":"tenant-key (your retail store's unique identifier in TWC)","schema":{"type":"string"}}}},"paths":{"/api/wishlists/customer":{"delete":{"summary":"deleteAllWishlists","operationId":"deleteAllWishlistsUsingDELETE","parameters":[{"$ref":"#/components/parameters/customerId"},{"$ref":"#/components/parameters/customerRef"},{"$ref":"#/components/parameters/X-TWC-Tenant-2"}],"responses":{"200":{"description":"OK"},"204":{"description":"No Content"},"401":{"description":"Unauthorized"},"403":{"description":"Forbidden"}},"deprecated":false,"description":"Delete all of a given customer's wishlists.  \nThis marks the specified customer’s wishlist(s) as deleted and produces an HTTP response confirming the action. \nThe customer is identified either by the TWC Internal customer ***id*** or the retailers own ***customerRef***. \n\nThe wishlists are actually retained in the system for reporting purposes, but are de-identified so cannot be linked back to the customer.\n\nIf the wishlist does not exist, this method returns a ResourceNotFound error.","tags":["wishlists"]}}}}
```
