Saved for Later
- userId
-
Oran Torphy @oran_torphy
- name
- Saved for Later
- isPublic
- true
- productIds
-
[ 64, 108, 172, 198, 162, 110, 150, 178, 19, 36, 96, 28 ] - createdAt
- updatedAt
Overview
wishlists / #182
[
64,
108,
172,
198,
162,
110,
150,
178,
19,
36,
96,
28
]
Saved for Later
#182
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/182" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/182"
);
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/182"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/182"
)
wishlist = res.json()
Response
{
"id": 182,
"userId": 189,
"name": "Saved for Later",
"isPublic": true,
"productIds": [
64,
108,
172,
198,
162,
110,
150,
178,
19,
36,
96,
28
],
"createdAt": "2024-12-23T09:48:47.124Z",
"updatedAt": "2025-03-26T17:16:35.037Z"
}