wishlists / #2
- userId
-
Charlene Roberts @charlene_roberts
- name
- Holiday Gifts
- isPublic
- true
- productIds
-
[ 43, 94, 195, 83, 2, 17, 109, 130, 74, 177, 46, 164, 148 ] - createdAt
- updatedAt
Component variants
Medium
Holiday Gifts
#2
Small
wishlists/2 Related
References
curl -sS \
"https://example-data.com/api/v1/wishlists/2" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/wishlists/2"
);
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/2"
);
const wishlist = (await res.json()) as Wishlist;import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/2"
)
wishlist = res.json() {
"id": 2,
"userId": 1,
"name": "Holiday Gifts",
"isPublic": true,
"productIds": [
43,
94,
195,
83,
2,
17,
109,
130,
74,
177,
46,
164,
148
],
"createdAt": "2024-12-26T13:35:31.507Z",
"updatedAt": "2025-08-17T09:30:54.911Z"
}