Summer Picks
- userId
-
Aylin Sanford @aylin.sanford
- name
- Summer Picks
- isPublic
- false
- productIds
-
[ 104, 7, 56, 105, 167 ] - createdAt
- updatedAt
Overview
wishlists / #165
[
104,
7,
56,
105,
167
]
Summer Picks
#165
Request
curl example
curl -sS \
"https://example-data.com/api/v1/wishlists/165" \
-H "Accept: application/json"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/wishlists/165"
);
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/165"
);
const wishlist = (await res.json()) as Wishlist;
Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/165"
)
wishlist = res.json()
Response
{
"id": 165,
"userId": 173,
"name": "Summer Picks",
"isPublic": false,
"productIds": [
104,
7,
56,
105,
167
],
"createdAt": "2025-01-04T17:38:13.732Z",
"updatedAt": "2025-08-19T18:18:27.873Z"
}