example-data.com

wishlists / #101

userId
Tabitha McKenzie @tabitha_mckenzie
name
Summer Picks
isPublic
false
productIds
[
  99,
  23,
  141,
  25,
  111,
  30,
  176,
  108,
  2
]
createdAt
updatedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/wishlists/101" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/wishlists/101"
);
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/101"
);
const wishlist = (await res.json()) as Wishlist;
import requests

res = requests.get(
    "https://example-data.com/api/v1/wishlists/101"
)
wishlist = res.json()
{
  "id": 101,
  "userId": 98,
  "name": "Summer Picks",
  "isPublic": false,
  "productIds": [
    99,
    23,
    141,
    25,
    111,
    30,
    176,
    108,
    2
  ],
  "createdAt": "2024-07-18T17:21:40.042Z",
  "updatedAt": "2025-08-09T08:17:24.302Z"
}
Draftbit