example-data.com

wishlists / #28

userId
Celia D'Amore @celia_damore
name
Back to School
isPublic
false
productIds
[
  59,
  100,
  51,
  78,
  116,
  166,
  15
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/28"
)
wishlist = res.json()
{
  "id": 28,
  "userId": 24,
  "name": "Back to School",
  "isPublic": false,
  "productIds": [
    59,
    100,
    51,
    78,
    116,
    166,
    15
  ],
  "createdAt": "2025-05-07T05:12:44.763Z",
  "updatedAt": "2026-03-10T11:42:16.779Z"
}
Draftbit