Favourites
- userId
-
Earlene Wisozk @earlene.wisozk
- name
- Favourites
- isPublic
- false
- productIds
-
[ 123, 182, 188, 40, 184, 77, 38, 36, 138 ] - createdAt
- updatedAt
Overview
wishlists / #208
[
123,
182,
188,
40,
184,
77,
38,
36,
138
]
Favourites
#208
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/208" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/208"
);
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/208"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/208"
)
wishlist = res.json()
Response
{
"id": 208,
"userId": 216,
"name": "Favourites",
"isPublic": false,
"productIds": [
123,
182,
188,
40,
184,
77,
38,
36,
138
],
"createdAt": "2026-01-15T12:36:55.846Z",
"updatedAt": "2026-01-23T13:43:59.446Z"
}