example-data.com

wishlists / #106

userId
Lazaro Rath @lazaro.rath42
name
Saved for Later
isPublic
true
productIds
[
  157,
  124,
  169,
  153,
  120,
  43,
  188,
  196
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/106"
)
wishlist = res.json()
{
  "id": 106,
  "userId": 102,
  "name": "Saved for Later",
  "isPublic": true,
  "productIds": [
    157,
    124,
    169,
    153,
    120,
    43,
    188,
    196
  ],
  "createdAt": "2024-09-30T21:38:23.999Z",
  "updatedAt": "2025-06-25T07:25:13.393Z"
}
Draftbit