example-data.com

wishlists / #148

userId
Jonathan Howe @jonathan_howe77
name
Want Later
isPublic
false
productIds
[
  58,
  196,
  74,
  98,
  160,
  121,
  137,
  157,
  171,
  33,
  45,
  105,
  175
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/148"
)
wishlist = res.json()
{
  "id": 148,
  "userId": 150,
  "name": "Want Later",
  "isPublic": false,
  "productIds": [
    58,
    196,
    74,
    98,
    160,
    121,
    137,
    157,
    171,
    33,
    45,
    105,
    175
  ],
  "createdAt": "2025-06-12T03:41:10.939Z",
  "updatedAt": "2025-06-24T20:03:35.617Z"
}
Draftbit