example-data.com

wishlists / #45

userId
Lamar Wilkinson @lamar_wilkinson43
name
Saved for Later
isPublic
true
productIds
[
  195,
  57,
  92,
  63,
  117,
  184,
  134,
  88,
  84,
  98,
  159,
  149,
  62
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/45"
)
wishlist = res.json()
{
  "id": 45,
  "userId": 43,
  "name": "Saved for Later",
  "isPublic": true,
  "productIds": [
    195,
    57,
    92,
    63,
    117,
    184,
    134,
    88,
    84,
    98,
    159,
    149,
    62
  ],
  "createdAt": "2024-11-19T07:55:30.984Z",
  "updatedAt": "2025-05-28T11:03:18.555Z"
}
Draftbit