example-data.com

wishlists / #174

userId
Lazaro Herzog @lazaro_herzog
name
Back to School
isPublic
true
productIds
[
  135,
  120,
  151,
  81,
  25,
  90,
  70,
  69,
  89
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/174"
)
wishlist = res.json()
{
  "id": 174,
  "userId": 181,
  "name": "Back to School",
  "isPublic": true,
  "productIds": [
    135,
    120,
    151,
    81,
    25,
    90,
    70,
    69,
    89
  ],
  "createdAt": "2024-12-28T12:38:15.681Z",
  "updatedAt": "2025-11-16T06:41:21.523Z"
}
Draftbit