Back to School
- userId
-
Roosevelt Ullrich @roosevelt.ullrich75
- name
- Back to School
- isPublic
- true
- productIds
-
[ 190, 146, 71, 15, 161, 125, 108, 178 ] - createdAt
- updatedAt
Overview
wishlists / #227
[
190,
146,
71,
15,
161,
125,
108,
178
]
Back to School
#227
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/227" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/227"
);
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/227"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/227"
)
wishlist = res.json()
Response
{
"id": 227,
"userId": 237,
"name": "Back to School",
"isPublic": true,
"productIds": [
190,
146,
71,
15,
161,
125,
108,
178
],
"createdAt": "2025-03-21T10:37:25.038Z",
"updatedAt": "2025-07-28T06:24:55.256Z"
}