example-data.com

wishlists / #234

userId
Santa Corwin @santa.corwin59
name
Tech Gadgets
isPublic
false
productIds
[
  31,
  64,
  163,
  107,
  41,
  178,
  182
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/234"
)
wishlist = res.json()
{
  "id": 234,
  "userId": 247,
  "name": "Tech Gadgets",
  "isPublic": false,
  "productIds": [
    31,
    64,
    163,
    107,
    41,
    178,
    182
  ],
  "createdAt": "2024-09-23T19:40:41.661Z",
  "updatedAt": "2026-02-05T03:57:17.927Z"
}
Draftbit