example-data.com

wishlists / #56

userId
Jolie Abernathy @jolie_abernathy33
name
Back to School
isPublic
false
productIds
[
  142,
  5,
  155,
  156,
  32,
  73,
  24,
  66,
  109,
  90,
  69,
  165,
  139
]
createdAt
updatedAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/wishlists/56"
)
wishlist = res.json()
{
  "id": 56,
  "userId": 50,
  "name": "Back to School",
  "isPublic": false,
  "productIds": [
    142,
    5,
    155,
    156,
    32,
    73,
    24,
    66,
    109,
    90,
    69,
    165,
    139
  ],
  "createdAt": "2024-07-22T19:24:04.649Z",
  "updatedAt": "2024-10-15T21:06:56.710Z"
}
Draftbit