example-data.com

wishlists / #31

userId
Rosella Homenick @rosella.homenick
name
Saved for Later
isPublic
true
productIds
[
  94,
  139,
  168
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/31"
)
wishlist = res.json()
{
  "id": 31,
  "userId": 27,
  "name": "Saved for Later",
  "isPublic": true,
  "productIds": [
    94,
    139,
    168
  ],
  "createdAt": "2024-12-22T09:58:46.604Z",
  "updatedAt": "2025-06-28T08:43:22.301Z"
}
Draftbit