Beverages
Soft drinks, juices, coffee, tea, and alcoholic beverages.
categories / #32
Soft drinks, juices, coffee, tea, and alcoholic beverages.
curl -sS \
"https://example-data.com/api/v1/categories/32" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/categories/32"
);
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/32"
);
const categorie = (await res.json()) as Categorie;import requests
res = requests.get(
"https://example-data.com/api/v1/categories/32"
)
categorie = res.json() {
"id": 32,
"name": "Beverages",
"slug": "beverages",
"description": "Soft drinks, juices, coffee, tea, and alcoholic beverages.",
"parentId": 7,
"sortOrder": 3
}