example-data.com

wishlists / #32

userId
Jensen Bashirian @jensen_bashirian
name
Gift Ideas
isPublic
true
productIds
[
  69,
  158,
  135,
  193,
  141,
  120,
  15,
  10,
  187,
  37
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/32"
)
wishlist = res.json()
{
  "id": 32,
  "userId": 29,
  "name": "Gift Ideas",
  "isPublic": true,
  "productIds": [
    69,
    158,
    135,
    193,
    141,
    120,
    15,
    10,
    187,
    37
  ],
  "createdAt": "2024-11-21T05:30:03.838Z",
  "updatedAt": "2025-06-05T00:01:48.804Z"
}
Draftbit