example-data.com

wishlists / #187

userId
Oliver Mitchell @oliver_mitchell50
name
Holiday Gifts
isPublic
false
productIds
[
  84,
  192,
  196,
  3,
  123,
  183
]
createdAt
updatedAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/wishlists/187" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/wishlists/187"
);
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/187"
);
const wishlist = (await res.json()) as Wishlist;
import requests

res = requests.get(
    "https://example-data.com/api/v1/wishlists/187"
)
wishlist = res.json()
{
  "id": 187,
  "userId": 194,
  "name": "Holiday Gifts",
  "isPublic": false,
  "productIds": [
    84,
    192,
    196,
    3,
    123,
    183
  ],
  "createdAt": "2024-06-19T13:29:20.797Z",
  "updatedAt": "2024-09-12T13:45:01.153Z"
}
Draftbit