example-data.com

wishlists / #157

userId
Alex Lang @alex_lang85
name
Holiday Gifts
isPublic
true
productIds
[
  158,
  180,
  60,
  128,
  144
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/157"
)
wishlist = res.json()
{
  "id": 157,
  "userId": 163,
  "name": "Holiday Gifts",
  "isPublic": true,
  "productIds": [
    158,
    180,
    60,
    128,
    144
  ],
  "createdAt": "2025-01-11T12:56:50.480Z",
  "updatedAt": "2025-07-04T18:50:48.632Z"
}
Draftbit