Birthday Wishlist
- userId
-
Kenya Abshire @kenya.abshire
- name
- Birthday Wishlist
- isPublic
- true
- productIds
-
[ 37, 112, 9, 29, 116, 92, 121, 34, 60, 161, 39, 22, 27, 49 ] - createdAt
- updatedAt
Overview
wishlists / #19
[
37,
112,
9,
29,
116,
92,
121,
34,
60,
161,
39,
22,
27,
49
]
Birthday Wishlist
#19
Request
curl example
curl -sS \ "https://example-data.com/api/v1/wishlists/19" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/wishlists/19" ); 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/19"
);
const wishlist = (await res.json()) as Wishlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/19"
)
wishlist = res.json() Response
{
"id": 19,
"userId": 18,
"name": "Birthday Wishlist",
"isPublic": true,
"productIds": [
37,
112,
9,
29,
116,
92,
121,
34,
60,
161,
39,
22,
27,
49
],
"createdAt": "2024-10-31T16:48:59.771Z",
"updatedAt": "2025-01-31T01:49:54.372Z"
}