example-data.com

stores / #12

Component variants

curl -sS \
  "https://example-data.com/api/v1/stores/12" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/stores/12"
);
const store = await res.json();
import type { Store } from "https://example-data.com/types/stores.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/stores/12"
);
const store = (await res.json()) as Store;
import requests

res = requests.get(
    "https://example-data.com/api/v1/stores/12"
)
store = res.json()
{
  "id": 12,
  "name": "Kuhlman and Sons",
  "slug": "kuhlman-and-sons-12",
  "description": "Balanced impactful database",
  "address": "9534 Maple Close",
  "city": "Letaport",
  "region": "New York",
  "countryAlpha2": "AR",
  "postalCode": "94493-7214",
  "phone": "(590) 402-6795 x908",
  "website": "https://www.kuhlman-and-sons.com",
  "hours": "24/7",
  "createdAt": "2022-02-03T22:28:48.940Z"
}
Draftbit