Saved for Later
- userId
-
Gwendolyn Wyman @gwendolyn.wyman87
- name
- Saved for Later
- isPublic
- true
- productIds
-
[ 58, 104, 122, 124, 30, 70, 34, 17 ] - createdAt
- updatedAt
Overview
wishlists / #42
[
58,
104,
122,
124,
30,
70,
34,
17
]
Saved for Later
#42
Request
curl example
curl -sS \ "https://example-data.com/api/v1/wishlists/42" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/wishlists/42" ); 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/42"
);
const wishlist = (await res.json()) as Wishlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/42"
)
wishlist = res.json() Response
{
"id": 42,
"userId": 40,
"name": "Saved for Later",
"isPublic": true,
"productIds": [
58,
104,
122,
124,
30,
70,
34,
17
],
"createdAt": "2024-07-01T17:03:06.499Z",
"updatedAt": "2025-10-30T18:28:12.231Z"
}