example-data.com

wishlists / #203

userId
Mia Renner @mia.renner47
name
Gift Ideas
isPublic
true
productIds
[
  56,
  182,
  159,
  126,
  199,
  188,
  41,
  122,
  38,
  18,
  74,
  165,
  32,
  69,
  138
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/203"
)
wishlist = res.json()
{
  "id": 203,
  "userId": 212,
  "name": "Gift Ideas",
  "isPublic": true,
  "productIds": [
    56,
    182,
    159,
    126,
    199,
    188,
    41,
    122,
    38,
    18,
    74,
    165,
    32,
    69,
    138
  ],
  "createdAt": "2024-10-08T20:38:10.853Z",
  "updatedAt": "2025-01-23T10:10:49.582Z"
}
Draftbit