example-data.com

wishlists / #25

userId
Antoinette Greenfelder @antoinette_greenfelder61
name
Saved for Later
isPublic
false
productIds
[
  197,
  58,
  108,
  128,
  76,
  132,
  200,
  199,
  138,
  26,
  86,
  92,
  84,
  188,
  118
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/25"
)
wishlist = res.json()
{
  "id": 25,
  "userId": 22,
  "name": "Saved for Later",
  "isPublic": false,
  "productIds": [
    197,
    58,
    108,
    128,
    76,
    132,
    200,
    199,
    138,
    26,
    86,
    92,
    84,
    188,
    118
  ],
  "createdAt": "2024-08-28T01:20:37.403Z",
  "updatedAt": "2025-05-05T18:25:55.000Z"
}
Draftbit