example-data.com

wishlists / #9

userId
Einar Volkman @einar_volkman69
name
Saved for Later
isPublic
true
productIds
[
  49,
  168,
  114,
  80,
  42,
  40,
  131,
  159,
  152,
  111
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/9"
)
wishlist = res.json()
{
  "id": 9,
  "userId": 7,
  "name": "Saved for Later",
  "isPublic": true,
  "productIds": [
    49,
    168,
    114,
    80,
    42,
    40,
    131,
    159,
    152,
    111
  ],
  "createdAt": "2024-12-15T01:49:14.562Z",
  "updatedAt": "2026-03-06T07:17:28.506Z"
}
Draftbit