wishlists / #221
- userId
-
Adelia Roberts @adelia_roberts0
- name
- Saved for Later
- isPublic
- false
- productIds
-
[ 130, 121, 57, 146, 175, 198 ] - createdAt
- updatedAt
Component variants
Medium
Saved for Later
#221
Small
wishlists/221 Related
References
curl -sS \
"https://example-data.com/api/v1/wishlists/221" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/wishlists/221"
);
const wishlist = await res.json();import type { Wishlist } from "https://example-data.com/types/wishlists.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/wishlists/221"
);
const wishlist = (await res.json()) as Wishlist;import requests
res = requests.get(
"https://example-data.com/api/v1/wishlists/221"
)
wishlist = res.json() {
"id": 221,
"userId": 231,
"name": "Saved for Later",
"isPublic": false,
"productIds": [
130,
121,
57,
146,
175,
198
],
"createdAt": "2024-06-20T15:25:29.100Z",
"updatedAt": "2024-08-11T12:08:34.510Z"
}