example-data.com

wishlists / #218

userId
Karlee MacGyver @karlee_macgyver
name
Holiday Gifts
isPublic
false
productIds
[
  114,
  142,
  166
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/218"
)
wishlist = res.json()
{
  "id": 218,
  "userId": 228,
  "name": "Holiday Gifts",
  "isPublic": false,
  "productIds": [
    114,
    142,
    166
  ],
  "createdAt": "2024-06-10T23:47:43.869Z",
  "updatedAt": "2026-02-28T18:28:36.575Z"
}
Draftbit