example-data.com

wishlists / #192

userId
Vidal Parker @vidal_parker12
name
Holiday Gifts
isPublic
true
productIds
[
  55,
  96,
  153,
  112,
  92,
  174,
  44,
  16,
  161,
  186,
  118,
  185,
  150,
  50,
  159
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/192"
)
wishlist = res.json()
{
  "id": 192,
  "userId": 203,
  "name": "Holiday Gifts",
  "isPublic": true,
  "productIds": [
    55,
    96,
    153,
    112,
    92,
    174,
    44,
    16,
    161,
    186,
    118,
    185,
    150,
    50,
    159
  ],
  "createdAt": "2024-12-18T04:07:42.008Z",
  "updatedAt": "2025-03-08T18:01:20.205Z"
}
Draftbit