example-data.com

wishlists / #19

userId
Kenya Abshire @kenya.abshire
name
Birthday Wishlist
isPublic
true
productIds
[
  37,
  112,
  9,
  29,
  116,
  92,
  121,
  34,
  60,
  161,
  39,
  22,
  27,
  49
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/19"
)
wishlist = res.json()
{
  "id": 19,
  "userId": 18,
  "name": "Birthday Wishlist",
  "isPublic": true,
  "productIds": [
    37,
    112,
    9,
    29,
    116,
    92,
    121,
    34,
    60,
    161,
    39,
    22,
    27,
    49
  ],
  "createdAt": "2024-10-31T16:48:59.771Z",
  "updatedAt": "2025-01-31T01:49:54.372Z"
}
Draftbit