example-data.com

wishlists / #43

userId
Trace Witting-Stamm @trace_witting-stamm17
name
Birthday Wishlist
isPublic
true
productIds
[
  97,
  126,
  104,
  121,
  114,
  89,
  24,
  156,
  20,
  125,
  63,
  73,
  166,
  189,
  131
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/43"
)
wishlist = res.json()
{
  "id": 43,
  "userId": 42,
  "name": "Birthday Wishlist",
  "isPublic": true,
  "productIds": [
    97,
    126,
    104,
    121,
    114,
    89,
    24,
    156,
    20,
    125,
    63,
    73,
    166,
    189,
    131
  ],
  "createdAt": "2025-05-29T10:11:01.722Z",
  "updatedAt": "2025-10-05T00:29:33.080Z"
}
Draftbit