> ## Documentation Index
> Fetch the complete documentation index at: https://86d.store/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Wishlist

> Save and track favorite products in 86d. Wishlists per Customer, with shareable links and back-in-stock notifications.

<Warning>
  **Experimental.** This Module has no test or production evidence recorded yet. Read it, run it locally, and hold off on real Orders. See [maturity levels](/docs/resources/versioning).
</Warning>

The Wishlist [Module](/docs/concepts/modules) lets [Shoppers](/docs/resources/glossary#shopper) save products for later. Each wishlist belongs to one [Customer](/docs/resources/glossary#customer), can be shared through a public link, and can trigger a notification when a saved item drops in price or restocks.

**Source:** [`modules/wishlist`](https://github.com/86d-store/86d/tree/main/modules/wishlist) · **npm:** [`@86d-store/wishlist`](https://www.npmjs.com/package/@86d-store/wishlist)

## Installation

```sh theme={null}
86d module add wishlist
```

## Configuration

```ts theme={null}
wishlist({
  notifyOnPriceDrop: "true",
  notifyOnRestock: "true",
  publicShareEnabled: "true",
});
```

## Store endpoints

| Method   | Path                     | Description                      |
| -------- | ------------------------ | -------------------------------- |
| `GET`    | `/wishlist/me`           | Get the customer's wishlist      |
| `POST`   | `/wishlist/me/items`     | Add an item                      |
| `DELETE` | `/wishlist/me/items/:id` | Remove an item                   |
| `GET`    | `/wishlist/share/:token` | Public read of a shared wishlist |

## Components

* `<WishlistButton productId={id} />`: heart toggle on product cards.
* `<WishlistPage />`: Customer self-service wishlist view.

## Related pages

* [Customers](/docs/modules/customers)
* [Notifications](/docs/modules/notifications)
* [Gift registry](/docs/modules/gift-registry)
* [Glossary](/docs/resources/glossary)
* [Versioning and maturity](/docs/resources/versioning)
