Gift Ideas
- userId
-
Colby Kovacek @colby_kovacek40
- name
- Gift Ideas
- isPublic
- false
- productIds
-
[ 91, 177, 90, 9, 117, 41, 27 ] - createdAt
- updatedAt
Overview
wishlists / #83
[
91,
177,
90,
9,
117,
41,
27
]
Gift Ideas
#83
Request
curl example
curl -sS \ "https://example-data.com/api/v1/wishlists/83" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/wishlists/83" ); 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/83"
);
const wishlist = (await res.json()) as Wishlist; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/83"
)
wishlist = res.json() Response
{
"id": 83,
"userId": 85,
"name": "Gift Ideas",
"isPublic": false,
"productIds": [
91,
177,
90,
9,
117,
41,
27
],
"createdAt": "2024-10-23T01:49:42.049Z",
"updatedAt": "2024-11-28T11:30:28.640Z"
}