Want Later
- userId
-
Oran Torphy @oran_torphy
- name
- Want Later
- isPublic
- false
- productIds
-
[ 189, 141, 3, 135, 19, 132, 18 ] - createdAt
- updatedAt
Overview
wishlists / #183
[
189,
141,
3,
135,
19,
132,
18
]
Want Later
#183
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/183" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/183"
);
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/183"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/183"
)
wishlist = res.json()
Response
{
"id": 183,
"userId": 189,
"name": "Want Later",
"isPublic": false,
"productIds": [
189,
141,
3,
135,
19,
132,
18
],
"createdAt": "2024-10-14T18:32:26.017Z",
"updatedAt": "2025-06-10T23:42:34.798Z"
}