example-data.com

wishlists / #159

userId
Ari Howe @ari.howe73
name
Saved for Later
isPublic
true
productIds
[
  69,
  58,
  194,
  180,
  72,
  61,
  119,
  37,
  93,
  172,
  92,
  112
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/159"
)
wishlist = res.json()
{
  "id": 159,
  "userId": 167,
  "name": "Saved for Later",
  "isPublic": true,
  "productIds": [
    69,
    58,
    194,
    180,
    72,
    61,
    119,
    37,
    93,
    172,
    92,
    112
  ],
  "createdAt": "2025-08-05T14:57:04.041Z",
  "updatedAt": "2025-11-12T14:37:57.903Z"
}
Draftbit