Saved for Later
- userId
-
Antoinette Greenfelder @antoinette_greenfelder61
- name
- Saved for Later
- isPublic
- false
- productIds
-
[ 197, 58, 108, 128, 76, 132, 200, 199, 138, 26, 86, 92, 84, 188, 118 ] - createdAt
- updatedAt
Overview
wishlists / #25
[
197,
58,
108,
128,
76,
132,
200,
199,
138,
26,
86,
92,
84,
188,
118
]
Saved for Later
#25
Request
curl example
curl -sS \ "https://example-data.com/api/v1/wishlists/25" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/wishlists/25" ); 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/25"
);
const wishlist = (await res.json()) as Wishlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/25"
)
wishlist = res.json() Response
{
"id": 25,
"userId": 22,
"name": "Saved for Later",
"isPublic": false,
"productIds": [
197,
58,
108,
128,
76,
132,
200,
199,
138,
26,
86,
92,
84,
188,
118
],
"createdAt": "2024-08-28T01:20:37.403Z",
"updatedAt": "2025-05-05T18:25:55.000Z"
}