example-data.com

wishlists / #37

userId
Lenny Howe @lenny.howe
name
Saved for Later
isPublic
false
productIds
[
  141,
  195,
  160,
  184,
  126,
  12,
  48,
  121,
  36,
  155,
  122
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/37"
)
wishlist = res.json()
{
  "id": 37,
  "userId": 37,
  "name": "Saved for Later",
  "isPublic": false,
  "productIds": [
    141,
    195,
    160,
    184,
    126,
    12,
    48,
    121,
    36,
    155,
    122
  ],
  "createdAt": "2025-07-25T03:27:41.200Z",
  "updatedAt": "2025-08-08T13:00:24.139Z"
}
Draftbit