example-data.com

wishlists / #227

userId
Roosevelt Ullrich @roosevelt.ullrich75
name
Back to School
isPublic
true
productIds
[
  190,
  146,
  71,
  15,
  161,
  125,
  108,
  178
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/227"
)
wishlist = res.json()
{
  "id": 227,
  "userId": 237,
  "name": "Back to School",
  "isPublic": true,
  "productIds": [
    190,
    146,
    71,
    15,
    161,
    125,
    108,
    178
  ],
  "createdAt": "2025-03-21T10:37:25.038Z",
  "updatedAt": "2025-07-28T06:24:55.256Z"
}
Draftbit