example-data.com

wishlists / #152

userId
Brad Wisoky @brad.wisoky41
name
Saved for Later
isPublic
false
productIds
[
  17,
  71,
  170,
  95,
  39,
  167
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/152"
)
wishlist = res.json()
{
  "id": 152,
  "userId": 154,
  "name": "Saved for Later",
  "isPublic": false,
  "productIds": [
    17,
    71,
    170,
    95,
    39,
    167
  ],
  "createdAt": "2024-09-04T02:11:05.470Z",
  "updatedAt": "2025-02-07T16:08:34.813Z"
}
Draftbit