example-data.com

wishlists / #138

userId
Wendy Borer @wendy_borer
name
Gift Ideas
isPublic
true
productIds
[
  65,
  34,
  159,
  125,
  143,
  146,
  79
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/138"
)
wishlist = res.json()
{
  "id": 138,
  "userId": 141,
  "name": "Gift Ideas",
  "isPublic": true,
  "productIds": [
    65,
    34,
    159,
    125,
    143,
    146,
    79
  ],
  "createdAt": "2025-06-18T07:10:54.865Z",
  "updatedAt": "2025-08-28T12:22:17.334Z"
}
Draftbit