example-data.com
Menu
Browse docs and collections

Overview

wishlists / #47

Summer Picks

userId
Everett Yundt @everett_yundt11
name
Summer Picks
isPublic
true
productIds
              [
  193,
  120,
  169,
  128,
  130,
  175
]
            
createdAt
updatedAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/wishlists/47" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/wishlists/47"
);
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/47"
);
const wishlist = (await res.json()) as Wishlist;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/wishlists/47"
)
wishlist = res.json()

Response

{
  "id": 47,
  "userId": 44,
  "name": "Summer Picks",
  "isPublic": true,
  "productIds": [
    193,
    120,
    169,
    128,
    130,
    175
  ],
  "createdAt": "2026-02-06T08:49:14.850Z",
  "updatedAt": "2026-03-22T13:26:48.545Z"
}