Complete reference for NormaTrack GraphQL API
Test queries and explore your API interactively
Alternative REST API endpoints for integration
View and manage your data from the dashboard
POST /api/graphqlContent-Type: application/json
Example Request:
curl -X POST http://localhost:3000/api/graphql \
-H "Content-Type: application/json" \
-d '{
"query": "{ getStatistics { totalProducts totalVariants } }"
}'GET /api/graphqlReturns API status and endpoint information
products(skip, take, category, search)Get paginated list of products with optional filters
materials(skip, take, supplier)Get paginated list of materials with optional supplier filter
variants(skip, take)Get paginated list of product variants
getStatistics()Get overall statistics and metrics
companies()Get list of all companies
certifications(productId?)Get certifications, optionally filtered by product
createProduct(name, sku, category, brand, ...)updateProduct(id, ...)deleteProduct(id)createMaterial(name, carbonFootprint, ...)updateMaterial(id, ...)deleteMaterial(id)createVariant(name, productId, ...)updateVariant(id, ...)deleteVariant(id)createCompany(...),updateCompany(...),deleteCompany(id)createCertification(...),updateCertification(...),deleteCertification(id)