example-data.com

wishlists / #125

userId
Nikko Kuhlman @nikko_kuhlman
name
Want Later
isPublic
false
productIds
[
  56,
  171,
  115,
  36,
  185,
  58,
  139
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/125"
)
wishlist = res.json()
{
  "id": 125,
  "userId": 122,
  "name": "Want Later",
  "isPublic": false,
  "productIds": [
    56,
    171,
    115,
    36,
    185,
    58,
    139
  ],
  "createdAt": "2025-03-10T15:20:05.460Z",
  "updatedAt": "2025-04-09T18:39:53.561Z"
}
Draftbit