Want Later
- userId
-
Jonathan Howe @jonathan_howe77
- name
- Want Later
- isPublic
- false
- productIds
-
[ 58, 196, 74, 98, 160, 121, 137, 157, 171, 33, 45, 105, 175 ] - createdAt
- updatedAt
Overview
wishlists / #148
[
58,
196,
74,
98,
160,
121,
137,
157,
171,
33,
45,
105,
175
]
Want Later
#148
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/148" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/148"
);
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/148"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/148"
)
wishlist = res.json()
Response
{
"id": 148,
"userId": 150,
"name": "Want Later",
"isPublic": false,
"productIds": [
58,
196,
74,
98,
160,
121,
137,
157,
171,
33,
45,
105,
175
],
"createdAt": "2025-06-12T03:41:10.939Z",
"updatedAt": "2025-06-24T20:03:35.617Z"
}