example-data.com

wishlists / #150

userId
Wiley Rodriguez @wiley.rodriguez19
name
Back to School
isPublic
true
productIds
[
  124,
  149,
  169,
  29,
  139,
  80,
  146,
  94,
  74,
  140
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/150"
)
wishlist = res.json()
{
  "id": 150,
  "userId": 151,
  "name": "Back to School",
  "isPublic": true,
  "productIds": [
    124,
    149,
    169,
    29,
    139,
    80,
    146,
    94,
    74,
    140
  ],
  "createdAt": "2024-06-02T18:13:56.362Z",
  "updatedAt": "2026-03-02T09:11:25.888Z"
}
Draftbit