example-data.com

wishlists / #182

userId
Oran Torphy @oran_torphy
name
Saved for Later
isPublic
true
productIds
[
  64,
  108,
  172,
  198,
  162,
  110,
  150,
  178,
  19,
  36,
  96,
  28
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/182"
)
wishlist = res.json()
{
  "id": 182,
  "userId": 189,
  "name": "Saved for Later",
  "isPublic": true,
  "productIds": [
    64,
    108,
    172,
    198,
    162,
    110,
    150,
    178,
    19,
    36,
    96,
    28
  ],
  "createdAt": "2024-12-23T09:48:47.124Z",
  "updatedAt": "2025-03-26T17:16:35.037Z"
}
Draftbit