example-data.com

wishlists / #12

userId
Leonel Hamill @leonel_hamill33
name
Home Decor
isPublic
false
productIds
[
  33,
  52,
  55
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/12"
)
wishlist = res.json()
{
  "id": 12,
  "userId": 11,
  "name": "Home Decor",
  "isPublic": false,
  "productIds": [
    33,
    52,
    55
  ],
  "createdAt": "2025-01-27T15:29:53.970Z",
  "updatedAt": "2025-06-13T03:14:53.067Z"
}
Draftbit