example-data.com

wishlists / #141

userId
Fritz Skiles @fritz_skiles
name
Want Later
isPublic
false
productIds
[
  193,
  192,
  17,
  44,
  104,
  36,
  120,
  2,
  94,
  22,
  47,
  176
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/141"
)
wishlist = res.json()
{
  "id": 141,
  "userId": 144,
  "name": "Want Later",
  "isPublic": false,
  "productIds": [
    193,
    192,
    17,
    44,
    104,
    36,
    120,
    2,
    94,
    22,
    47,
    176
  ],
  "createdAt": "2024-12-04T09:34:09.256Z",
  "updatedAt": "2025-08-07T12:12:31.290Z"
}
Draftbit