example-data.com

wishlists / #78

userId
Candace Mueller @candace.mueller
name
Gift Ideas
isPublic
false
productIds
[
  180,
  192,
  162,
  58,
  12
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/78"
)
wishlist = res.json()
{
  "id": 78,
  "userId": 75,
  "name": "Gift Ideas",
  "isPublic": false,
  "productIds": [
    180,
    192,
    162,
    58,
    12
  ],
  "createdAt": "2024-09-07T06:41:40.721Z",
  "updatedAt": "2025-01-15T06:21:19.277Z"
}
Draftbit