example-data.com
Menu
Browse docs and collections

Overview

stores / #21

Component variants

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/stores/21" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/stores/21"
);
const store = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/stores.d.ts https://example-data.com/types/stores.d.ts
import type { Store } from "./types/stores";

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

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/stores/21"
)
store = res.json()

Response

{
  "id": 21,
  "name": "Hagenes Inc",
  "slug": "hagenes-inc-21",
  "description": "Progressive sustainable toolset",
  "address": "6139 Dare Well",
  "city": "West Nannie",
  "region": "Pennsylvania",
  "countryAlpha2": "TR",
  "postalCode": "50480",
  "phone": "+1 202-555-0120 ext 1",
  "website": "https://example.com/stores/hagenes-inc",
  "hours": "24/7",
  "createdAt": "2025-10-30T17:47:55.408Z"
}