Holiday Gifts
- userId
-
Vidal Parker @vidal_parker12
- name
- Holiday Gifts
- isPublic
- true
- productIds
-
[ 55, 96, 153, 112, 92, 174, 44, 16, 161, 186, 118, 185, 150, 50, 159 ] - createdAt
- updatedAt
Overview
wishlists / #192
[
55,
96,
153,
112,
92,
174,
44,
16,
161,
186,
118,
185,
150,
50,
159
]
Holiday Gifts
#192
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/192" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/192"
);
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/192"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/192"
)
wishlist = res.json()
Response
{
"id": 192,
"userId": 203,
"name": "Holiday Gifts",
"isPublic": true,
"productIds": [
55,
96,
153,
112,
92,
174,
44,
16,
161,
186,
118,
185,
150,
50,
159
],
"createdAt": "2024-12-18T04:07:42.008Z",
"updatedAt": "2025-03-08T18:01:20.205Z"
}