Sustainability reporting & Digital Product Passport platform
Get a token
POST /api/auth/login
Content-Type: application/json
{
"email": "user@example.com",
"password": "password"
}
List products
GET /api/products Authorization: Bearer YOUR_TOKEN
Create product with parts
POST /api/products
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json
{
"product": {
"name": "My Product",
"brand_id": 1,
"template_id": 2,
"language": "en",
"kind": "product"
},
"component_uuids": ["uuid-1", "uuid-2"]
}