Saved for Later
- userId
-
Einar Volkman @einar_volkman69
- name
- Saved for Later
- isPublic
- true
- productIds
-
[ 49, 168, 114, 80, 42, 40, 131, 159, 152, 111 ] - createdAt
- updatedAt
Overview
wishlists / #9
[
49,
168,
114,
80,
42,
40,
131,
159,
152,
111
]
Saved for Later
#9
Request
curl example
curl -sS \ "https://example-data.com/api/v1/wishlists/9" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/wishlists/9" ); 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/9"
);
const wishlist = (await res.json()) as Wishlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/9"
)
wishlist = res.json() Response
{
"id": 9,
"userId": 7,
"name": "Saved for Later",
"isPublic": true,
"productIds": [
49,
168,
114,
80,
42,
40,
131,
159,
152,
111
],
"createdAt": "2024-12-15T01:49:14.562Z",
"updatedAt": "2026-03-06T07:17:28.506Z"
}