Skip to main content
GET
/
products
/
:id
curl -X GET https://api.kiototeteria.com/products/1
{
  "id": 1,
  "name": "Matcha Green Tea",
  "slug": "matcha-green-tea",
  "description": "Premium organic matcha green tea from Japan",
  "price": "12.99",
  "isActive": true,
  "categoryId": 1,
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T10:30:00Z"
}

Path Parameters

id
number
required
The unique identifier of the product

Response

id
number
Unique identifier for the product
name
string
Product name
slug
string
URL-friendly unique identifier
description
string
Product description
price
decimal
Product price (up to 10 digits, 2 decimal places)
isActive
boolean
Whether the product is currently active
categoryId
number
ID of the category this product belongs to
createdAt
datetime
Timestamp when the product was created
updatedAt
datetime
Timestamp when the product was last updated
curl -X GET https://api.kiototeteria.com/products/1
{
  "id": 1,
  "name": "Matcha Green Tea",
  "slug": "matcha-green-tea",
  "description": "Premium organic matcha green tea from Japan",
  "price": "12.99",
  "isActive": true,
  "categoryId": 1,
  "createdAt": "2024-01-15T10:30:00Z",
  "updatedAt": "2024-01-15T10:30:00Z"
}

Build docs developers (and LLMs) love