example-data.com

stores / #1

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/stores/1"
)
store = res.json()
{
  "id": 1,
  "name": "Gleason, Lehner and Bradtke",
  "slug": "gleason-lehner-and-bradtke-1",
  "description": "Compatible optimizing moderator",
  "address": "1730 The Spinney",
  "city": "Edgardofurt",
  "region": "Georgia",
  "countryAlpha2": "ID",
  "postalCode": "82959-1292",
  "phone": "632-725-1297",
  "website": "https://www.gleason-lehner-and-bradtke.com",
  "hours": "Mon-Sat 8am-8pm, Sun 10am-6pm",
  "createdAt": "2022-08-06T06:51:30.132Z"
}
Draftbit