example-data.com

wishlists / #72

userId
Virginie O'Connell @virginie.oconnell55
name
Back to School
isPublic
false
productIds
[
  164,
  140,
  172,
  43,
  127,
  14,
  70,
  78,
  38,
  171,
  176,
  50,
  174,
  116,
  162
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/72"
)
wishlist = res.json()
{
  "id": 72,
  "userId": 70,
  "name": "Back to School",
  "isPublic": false,
  "productIds": [
    164,
    140,
    172,
    43,
    127,
    14,
    70,
    78,
    38,
    171,
    176,
    50,
    174,
    116,
    162
  ],
  "createdAt": "2024-10-19T11:22:53.135Z",
  "updatedAt": "2026-05-03T23:38:39.928Z"
}
Draftbit