example-data.com

wishlists / #76

userId
Terence Lemke @terence.lemke85
name
Favourites
isPublic
false
productIds
[
  158,
  84,
  61,
  148,
  68,
  171,
  174,
  10,
  115,
  153,
  54,
  48,
  178
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/76"
)
wishlist = res.json()
{
  "id": 76,
  "userId": 74,
  "name": "Favourites",
  "isPublic": false,
  "productIds": [
    158,
    84,
    61,
    148,
    68,
    171,
    174,
    10,
    115,
    153,
    54,
    48,
    178
  ],
  "createdAt": "2025-05-20T08:09:23.854Z",
  "updatedAt": "2025-05-27T00:52:54.772Z"
}
Draftbit