Favourites
- userId
-
Roma Durgan @roma.durgan
- name
- Favourites
- isPublic
- true
- productIds
-
[ 102, 146, 198, 128, 77, 173, 31, 5 ] - createdAt
- updatedAt
Overview
wishlists / #206
[
102,
146,
198,
128,
77,
173,
31,
5
]
Favourites
#206
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/206" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/206"
);
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/206"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/206"
)
wishlist = res.json()
Response
{
"id": 206,
"userId": 215,
"name": "Favourites",
"isPublic": true,
"productIds": [
102,
146,
198,
128,
77,
173,
31,
5
],
"createdAt": "2025-07-03T16:41:22.948Z",
"updatedAt": "2026-02-01T18:31:38.818Z"
}