Car Parts
OEM and aftermarket replacement parts for cars and trucks.
Overview
categories / #36
OEM and aftermarket replacement parts for cars and trucks.
Request
curl example
curl -sS \ "https://example-data.com/api/v1/categories/36" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/categories/36" ); const category = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/categories.d.ts https://example-data.com/types/categories.d.ts
import type { Category } from "./types/categories";
const res = await fetch(
"https://example-data.com/api/v1/categories/36"
);
const category = (await res.json()) as Category; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/categories/36"
)
categorie = res.json() Response
{
"id": 36,
"name": "Car Parts",
"slug": "car-parts",
"description": "OEM and aftermarket replacement parts for cars and trucks.",
"parentId": 9,
"sortOrder": 1
}