Favourites
- userId
-
Margaretta Barrows @margaretta_barrows41
- name
- Favourites
- isPublic
- true
- productIds
-
[ 71, 183, 42, 46, 10, 35, 30, 196, 187 ] - createdAt
- updatedAt
Overview
wishlists / #40
[
71,
183,
42,
46,
10,
35,
30,
196,
187
]
Favourites
#40
Request
curl example
curl -sS \ "https://example-data.com/api/v1/wishlists/40" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/wishlists/40" ); 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/40"
);
const wishlist = (await res.json()) as Wishlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/40"
)
wishlist = res.json() Response
{
"id": 40,
"userId": 39,
"name": "Favourites",
"isPublic": true,
"productIds": [
71,
183,
42,
46,
10,
35,
30,
196,
187
],
"createdAt": "2025-03-02T23:48:14.242Z",
"updatedAt": "2025-12-23T06:25:14.604Z"
}