example-data.com

wishlists / #40

userId
Margaretta Barrows @margaretta_barrows41
name
Favourites
isPublic
true
productIds
[
  71,
  183,
  42,
  46,
  10,
  35,
  30,
  196,
  187
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/40"
)
wishlist = res.json()
{
  "id": 40,
  "userId": 39,
  "name": "Favourites",
  "isPublic": true,
  "productIds": [
    71,
    183,
    42,
    46,
    10,
    35,
    30,
    196,
    187
  ],
  "createdAt": "2025-03-02T23:48:14.242Z",
  "updatedAt": "2025-12-23T06:25:14.604Z"
}
Draftbit