Back to School
- userId
-
Fatima Dicki @fatima_dicki
- name
- Back to School
- isPublic
- false
- productIds
-
[ 188, 73, 1, 82, 77, 127, 121, 124, 81, 65, 57, 195, 10, 66 ] - createdAt
- updatedAt
Overview
wishlists / #170
[
188,
73,
1,
82,
77,
127,
121,
124,
81,
65,
57,
195,
10,
66
]
Back to School
#170
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/170" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/170"
);
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/170"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/170"
)
wishlist = res.json()
Response
{
"id": 170,
"userId": 176,
"name": "Back to School",
"isPublic": false,
"productIds": [
188,
73,
1,
82,
77,
127,
121,
124,
81,
65,
57,
195,
10,
66
],
"createdAt": "2025-02-25T12:31:42.352Z",
"updatedAt": "2025-10-17T01:44:13.857Z"
}