example-data.com

wishlists / #183

userId
Oran Torphy @oran_torphy
name
Want Later
isPublic
false
productIds
[
  189,
  141,
  3,
  135,
  19,
  132,
  18
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/183"
)
wishlist = res.json()
{
  "id": 183,
  "userId": 189,
  "name": "Want Later",
  "isPublic": false,
  "productIds": [
    189,
    141,
    3,
    135,
    19,
    132,
    18
  ],
  "createdAt": "2024-10-14T18:32:26.017Z",
  "updatedAt": "2025-06-10T23:42:34.798Z"
}
Draftbit