Footwear
Shoes, boots, sandals, and athletic sneakers.
categories / #17
Shoes, boots, sandals, and athletic sneakers.
curl -sS \
"https://example-data.com/api/v1/categories/17" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/categories/17"
);
const categorie = await res.json();import type { Categorie } from "https://example-data.com/types/categories.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/categories/17"
);
const categorie = (await res.json()) as Categorie;import requests
res = requests.get(
"https://example-data.com/api/v1/categories/17"
)
categorie = res.json() {
"id": 17,
"name": "Footwear",
"slug": "footwear",
"description": "Shoes, boots, sandals, and athletic sneakers.",
"parentId": 2,
"sortOrder": 3
}