Home Decor
- userId
-
Amina King @amina_king41
- name
- Home Decor
- isPublic
- true
- productIds
-
[ 17, 75, 187, 170, 13, 148, 18, 174, 69, 24, 143 ] - createdAt
- updatedAt
Overview
wishlists / #4
[
17,
75,
187,
170,
13,
148,
18,
174,
69,
24,
143
]
Home Decor
#4
Request
curl example
curl -sS \ "https://example-data.com/api/v1/wishlists/4" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/wishlists/4" ); 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/4"
);
const wishlist = (await res.json()) as Wishlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/4"
)
wishlist = res.json() Response
{
"id": 4,
"userId": 2,
"name": "Home Decor",
"isPublic": true,
"productIds": [
17,
75,
187,
170,
13,
148,
18,
174,
69,
24,
143
],
"createdAt": "2024-08-16T19:24:11.158Z",
"updatedAt": "2026-03-11T23:46:24.268Z"
}