example-data.com

wishlists / #42

userId
Gwendolyn Wyman @gwendolyn.wyman87
name
Saved for Later
isPublic
true
productIds
[
  58,
  104,
  122,
  124,
  30,
  70,
  34,
  17
]
createdAt
updatedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/wishlists/42" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/wishlists/42"
);
const wishlist = await res.json();
import type { Wishlist } from "https://example-data.com/types/wishlists.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/wishlists/42"
);
const wishlist = (await res.json()) as Wishlist;
import requests

res = requests.get(
    "https://example-data.com/api/v1/wishlists/42"
)
wishlist = res.json()
{
  "id": 42,
  "userId": 40,
  "name": "Saved for Later",
  "isPublic": true,
  "productIds": [
    58,
    104,
    122,
    124,
    30,
    70,
    34,
    17
  ],
  "createdAt": "2024-07-01T17:03:06.499Z",
  "updatedAt": "2025-10-30T18:28:12.231Z"
}
Draftbit