Holiday Gifts
- userId
-
Alex Lang @alex_lang85
- name
- Holiday Gifts
- isPublic
- true
- productIds
-
[ 158, 180, 60, 128, 144 ] - createdAt
- updatedAt
Overview
wishlists / #157
[
158,
180,
60,
128,
144
]
Holiday Gifts
#157
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/157" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/157"
);
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/157"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/157"
)
wishlist = res.json()
Response
{
"id": 157,
"userId": 163,
"name": "Holiday Gifts",
"isPublic": true,
"productIds": [
158,
180,
60,
128,
144
],
"createdAt": "2025-01-11T12:56:50.480Z",
"updatedAt": "2025-07-04T18:50:48.632Z"
}