Saved for Later
- userId
-
Camron O'Conner @camron.oconner54
- name
- Saved for Later
- isPublic
- true
- productIds
-
[ 74, 84, 78, 119, 196 ] - createdAt
- updatedAt
Overview
wishlists / #95
[
74,
84,
78,
119,
196
]
Saved for Later
#95
Request
curl example
curl -sS \ "https://example-data.com/api/v1/wishlists/95" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/wishlists/95" ); 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/95"
);
const wishlist = (await res.json()) as Wishlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/95"
)
wishlist = res.json() Response
{
"id": 95,
"userId": 94,
"name": "Saved for Later",
"isPublic": true,
"productIds": [
74,
84,
78,
119,
196
],
"createdAt": "2024-09-15T15:46:04.055Z",
"updatedAt": "2026-01-08T14:32:01.734Z"
}