example-data.com

wishlists / #50

userId
Myrtie Daniel @myrtie_daniel33
name
Birthday Wishlist
isPublic
true
productIds
[
  174,
  114,
  13,
  146,
  65,
  23,
  151,
  67,
  187,
  129,
  61,
  64,
  123,
  39,
  6
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/50"
)
wishlist = res.json()
{
  "id": 50,
  "userId": 45,
  "name": "Birthday Wishlist",
  "isPublic": true,
  "productIds": [
    174,
    114,
    13,
    146,
    65,
    23,
    151,
    67,
    187,
    129,
    61,
    64,
    123,
    39,
    6
  ],
  "createdAt": "2025-04-08T06:04:02.944Z",
  "updatedAt": "2025-08-13T01:46:37.788Z"
}
Draftbit