Saved for Later
- userId
-
Rosina Larkin @rosina.larkin75
- name
- Saved for Later
- isPublic
- true
- productIds
-
[ 101, 60, 146 ] - createdAt
- updatedAt
Overview
wishlists / #107
[
101,
60,
146
]
Saved for Later
#107
Request
curl example
curl -sS \ "https://example-data.com/api/v1/wishlists/107" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/wishlists/107" ); 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/107"
);
const wishlist = (await res.json()) as Wishlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/107"
)
wishlist = res.json() Response
{
"id": 107,
"userId": 103,
"name": "Saved for Later",
"isPublic": true,
"productIds": [
101,
60,
146
],
"createdAt": "2024-08-05T04:52:45.911Z",
"updatedAt": "2026-05-09T00:03:56.098Z"
}