Summer Picks
- userId
-
Leora Doyle @leora_doyle
- name
- Summer Picks
- isPublic
- false
- productIds
-
[ 193, 58, 25 ] - createdAt
- updatedAt
Overview
wishlists / #122
[
193,
58,
25
]
Summer Picks
#122
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/122" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/122"
);
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/122"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/122"
)
wishlist = res.json()
Response
{
"id": 122,
"userId": 117,
"name": "Summer Picks",
"isPublic": false,
"productIds": [
193,
58,
25
],
"createdAt": "2025-12-13T20:59:50.086Z",
"updatedAt": "2025-12-17T11:02:29.397Z"
}