Tech Gadgets
- userId
-
Santa Corwin @santa.corwin59
- name
- Tech Gadgets
- isPublic
- false
- productIds
-
[ 31, 64, 163, 107, 41, 178, 182 ] - createdAt
- updatedAt
Overview
wishlists / #234
[
31,
64,
163,
107,
41,
178,
182
]
Tech Gadgets
#234
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/234" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/234"
);
const wishlist = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/wishlists.d.ts https://example-data.com/types/wishlists.d.ts
import type { Wishlist } from "./types/wishlists";
const res = await fetch(
"https://example-data.com/api/v1/wishlists/234"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/234"
)
wishlist = res.json()
Response
{
"id": 234,
"userId": 247,
"name": "Tech Gadgets",
"isPublic": false,
"productIds": [
31,
64,
163,
107,
41,
178,
182
],
"createdAt": "2024-09-23T19:40:41.661Z",
"updatedAt": "2026-02-05T03:57:17.927Z"
}