example-data.com

wishlists / #26

userId
Antoinette Greenfelder @antoinette_greenfelder61
name
Birthday Wishlist
isPublic
true
productIds
[
  28,
  16,
  19,
  75,
  42,
  147,
  158,
  2,
  46,
  195,
  111
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/26"
)
wishlist = res.json()
{
  "id": 26,
  "userId": 22,
  "name": "Birthday Wishlist",
  "isPublic": true,
  "productIds": [
    28,
    16,
    19,
    75,
    42,
    147,
    158,
    2,
    46,
    195,
    111
  ],
  "createdAt": "2024-11-21T21:13:29.756Z",
  "updatedAt": "2025-08-17T17:29:59.249Z"
}
Draftbit