example-data.com

wishlists / #158

userId
Cindy Barrows @cindy_barrows20
name
Back to School
isPublic
true
productIds
[
  11,
  160,
  146,
  100,
  40,
  15,
  144,
  147,
  119,
  171,
  43
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/158"
)
wishlist = res.json()
{
  "id": 158,
  "userId": 165,
  "name": "Back to School",
  "isPublic": true,
  "productIds": [
    11,
    160,
    146,
    100,
    40,
    15,
    144,
    147,
    119,
    171,
    43
  ],
  "createdAt": "2024-11-09T03:25:59.487Z",
  "updatedAt": "2025-02-28T02:48:08.002Z"
}
Draftbit