wishlists / #4
- userId
-
Amina King @amina_king41
- name
- Home Decor
- isPublic
- true
- productIds
-
[ 17, 75, 187, 170, 13, 148, 18, 174, 69, 24, 143 ] - createdAt
- updatedAt
Component variants
Medium
Home Decor
#4
Small
wishlists/4 Related
References
curl -sS \
"https://example-data.com/api/v1/wishlists/4" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/wishlists/4"
);
const wishlist = await res.json();import type { Wishlist } from "https://example-data.com/types/wishlists.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/wishlists/4"
);
const wishlist = (await res.json()) as Wishlist;import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/4"
)
wishlist = res.json() {
"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"
}