Home Decor
- userId
-
Leonel Hamill @leonel_hamill33
- name
- Home Decor
- isPublic
- false
- productIds
-
[ 33, 52, 55 ] - createdAt
- updatedAt
Overview
wishlists / #12
[
33,
52,
55
]
Home Decor
#12
Request
curl example
curl -sS \ "https://example-data.com/api/v1/wishlists/12" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/wishlists/12" ); 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/12"
);
const wishlist = (await res.json()) as Wishlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/12"
)
wishlist = res.json() Response
{
"id": 12,
"userId": 11,
"name": "Home Decor",
"isPublic": false,
"productIds": [
33,
52,
55
],
"createdAt": "2025-01-27T15:29:53.970Z",
"updatedAt": "2025-06-13T03:14:53.067Z"
}