Want Later
- userId
-
Anne Hamill @anne_hamill75
- name
- Want Later
- isPublic
- false
- productIds
-
[ 2, 195, 150, 153 ] - createdAt
- updatedAt
Overview
wishlists / #10
[
2,
195,
150,
153
]
Want Later
#10
Request
curl example
curl -sS \ "https://example-data.com/api/v1/wishlists/10" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/wishlists/10" ); 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/10"
);
const wishlist = (await res.json()) as Wishlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/10"
)
wishlist = res.json() Response
{
"id": 10,
"userId": 9,
"name": "Want Later",
"isPublic": false,
"productIds": [
2,
195,
150,
153
],
"createdAt": "2025-05-09T01:05:58.054Z",
"updatedAt": "2025-11-23T10:18:08.316Z"
}