# Private wishlists (Phase 4A) Endpoints under `/api/v1/wishlist` require an active bearer session. Like private addresses and carts, they need no staff permission. Ownership comes exclusively from the session; there is no staff endpoint for another user's wishlist and caller-supplied ownership fields are rejected. | Method | Path | Purpose | | ------ | ------------- | ---------------------------------------------------------------------------------- | | GET | `/` | List own saved variants; `limit` defaults to 25 (1–100), `offset` to 0 (0–10,000) | | PUT | `/:variantId` | Save a published, active variant in the current organization; send no body or `{}` | | DELETE | `/:variantId` | Remove own saved variant; returns 204, including when already absent | Each list/save response item contains `id`, `variantId`, `savedAt`, `available`, and `variant`. Available items include current variant name, SKU, exact two-decimal price, currency, and product ID/name/slug. Prices are live catalog prices, not frozen checkout prices. `available` means published and active; it does not indicate warehouse stock or reserve inventory. Unpublished, archived, or inactive saved variants remain in the list with `available: false` and `variant: null`. This prevents leaking private catalog details while allowing removal. Repeating PUT for an existing saved item returns its current representation, even if it has become unavailable. A new save of an unavailable, missing, or out-of-organization variant returns 404 (`WISHLIST_ITEM_UNAVAILABLE`). A user may save at most 100 variants. A new item at the limit returns 409 (`WISHLIST_LIMIT`); existing-item retries remain valid. List ordering is newest saved first, with ID as a stable tie-breaker. PUT retries keep the same ID and timestamp. After deletion, a later save creates a new item. Concurrent API mutations use the existing transaction/organization lock; a database unique constraint also prevents duplicate user/organization/variant entries. Save/remove actions produce one audit event per actual change. There are no public shares, guest wishlists, notifications, cart conversion, or inventory effects in this milestone. Composite database foreign keys enforce user and variant organization scope. Deploy the append-only migration before the application; existing records and permissions are unchanged.