example-data.com

wishlists / #18

userId
Kenya Abshire @kenya.abshire
name
Birthday Wishlist
isPublic
false
productIds
[
  14,
  175,
  154,
  190,
  39,
  50,
  2,
  145,
  180,
  91,
  35
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/18"
)
wishlist = res.json()
{
  "id": 18,
  "userId": 18,
  "name": "Birthday Wishlist",
  "isPublic": false,
  "productIds": [
    14,
    175,
    154,
    190,
    39,
    50,
    2,
    145,
    180,
    91,
    35
  ],
  "createdAt": "2025-03-01T10:00:51.869Z",
  "updatedAt": "2025-04-18T04:12:52.751Z"
}
Draftbit