Favourites
- userId
-
Jameson Considine @jameson.considine1
- name
- Favourites
- isPublic
- false
- productIds
-
[ 46, 82, 35, 129, 160, 65, 106, 123, 38, 23 ] - createdAt
- updatedAt
Overview
wishlists / #224
[
46,
82,
35,
129,
160,
65,
106,
123,
38,
23
]
Favourites
#224
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/224" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/224"
);
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/224"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/224"
)
wishlist = res.json()
Response
{
"id": 224,
"userId": 236,
"name": "Favourites",
"isPublic": false,
"productIds": [
46,
82,
35,
129,
160,
65,
106,
123,
38,
23
],
"createdAt": "2025-06-08T13:59:02.477Z",
"updatedAt": "2026-02-23T11:50:14.247Z"
}